Closed Bug 1997809 Opened 5 months ago Closed 5 months ago

Remove MOZ_CONSTINIT from default-initialized global UniquePtr

Categories

(Core :: General, task)

task

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: sergesanspaille, Assigned: sergesanspaille)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

mozilla::UniquePtr is now (see Bug 1973598) std::unique_ptr, whose default constructor is constexpr. let's make it MOZ_CONSTINIT

Product: Firefox Build System → Core

UniquePtr is std::unique_ptr and its default constructor is constexpr.

Assignee: nobody → sguelton
Status: NEW → ASSIGNED
Pushed by sguelton@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/237d40f6fbcc https://hg.mozilla.org/integration/autoland/rev/9f3a6b4dbccc Turn MOZ_RUNINIT UniquePtr initialization into MOZ_CONSTINIT r=emilio,media-playback-reviewers,karlt
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
QA Whiteboard: [qa-triage-done-c147/b146]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: