Closed Bug 1631709 Opened 4 years ago Closed 4 years ago

NotNull must not be movable

Categories

(Core :: MFBT, task)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: sg, Assigned: sg)

Details

Attachments

(1 file)

mozilla::NotNull<T> must not be movable, since for smart base pointers, the implicit move operations would leave a nullptr base pointer behind, which contradicts the guarantees and purpose of NotNull.

Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/08e2ec70d06d
NotNull must not be movable. r=jwalden
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: