Closed Bug 1508460 Opened 5 years ago Closed 5 years ago

Add HasFreeLSB<void*> template specialization

Categories

(Core :: MFBT, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

(Whiteboard: inj+)

Attachments

(1 file)

Otherwise types that are typedef'd to void* cannot be passed as template parameters to mozilla::Result
HasFreeLSB currently fails for any types that map to void*. Unless we fix this,
we can't use certain types as template parameters for mozilla::Result.
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/853889cec3ab
Add specialization for void* to HasFreeLSB; r=froydnj
No longer blocks: 1460433
https://hg.mozilla.org/mozilla-central/rev/853889cec3ab
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.