Open Bug 1050044 Opened 10 years ago Updated 2 years ago

MakeUnique should be able to accept nullptr as an arg

Categories

(Core :: MFBT, defect)

All
Gonk (Firefox OS)
defect

Tracking

()

People

(Reporter: jgilbert, Unassigned)

References

Details

MakeUnique can't currently accept nullptr as an arg on GCC <4.6. From :waldo: > This problem happens because gcc < 4.6 doesn't support true nullptr, and that interacts poorly with perfect forwarding. See the long comment in mfbt/Move.h for details.
We dropped support for GCC 4.6 in bug 1144155. Knock yourself out.
Depends on: 1144155
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.