Closed
Bug 1661497
Opened 5 years ago
Closed 5 years ago
Allow use of DebugOnly<T> with non-copyable T
Categories
(Core :: MFBT, task)
Core
MFBT
Tracking
()
RESOLVED
FIXED
82 Branch
| Tracking | Status | |
|---|---|---|
| firefox82 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
References
Details
Attachments
(1 file)
Currently, DebugOnly<T> requires T to be copyable, just because it has no constructor/assignment operator accepting a T&&. This should be fixed to allow the use with non-copyable T and prefer moving where possible (even though the latter only affects Debug builds).
| Assignee | ||
Comment 1•5 years ago
|
||
Depends on D88393
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/733df139089a
Make DebugOnly work with move-only value types. r=froydnj
Comment 3•5 years ago
|
||
Backed out for build bustages.
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fe8e9781cc24
Make DebugOnly work with move-only value types. r=froydnj
Comment 5•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•