Closed
Bug 1668539
Opened 5 years ago
Closed 5 years ago
Do not prevent RVO with QM_TRY_RETURN
Categories
(Core :: Storage: Quota Manager, task)
Core
Storage: Quota Manager
Tracking
()
RESOLVED
FIXED
83 Branch
| Tracking | Status | |
|---|---|---|
| firefox83 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
Details
Attachments
(1 file)
The implementation of QM_TRY_RETURN (and QM-specific equivalents) can be simplified to contain a single return statement, thereby not preventing (N)RVO. Also, in some situations it allows to drop the explicit specification of return types of the enclosing function/lambda expression.
| Assignee | ||
Comment 1•5 years ago
|
||
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/874a5f59d8be
Do not prevent RVO with QM_TRY_RETURN. r=dom-workers-and-storage-reviewers,janv
Comment 3•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox83:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•