Closed
Bug 1617604
Opened 5 years ago
Closed 5 years ago
Fallible nsTArray::EmplaceBack cannot be called
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla75
| Tracking | Status | |
|---|---|---|
| firefox75 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
It is syntactically impossible to call the fallible overload of nsTArray::EmplaceBack, since it has an argument after a parameter pack, and the other overload also begins with a parameter pack.
| Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Has Regression Range: --- → yes
Keywords: regression
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cb38779e1eb6
Make fallible nsTArray::EmplaceBack callable. r=froydnj
Comment 3•5 years ago
|
||
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&resultStatus=busted%2Cexception&fromchange=cb38779e1eb6610ecb6ceeddd496841a30988136&selectedJob=290220436
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=290220436&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/8e64763e531fde29c56d951c24c7363c2c844b95
[task 2020-02-24T17:44:06.869Z] 17:44:06 INFO - z:/build/build/src/obj-firefox/dist/include/mozilla/RefPtr.h(289,3): note: candidate function
[task 2020-02-24T17:44:06.869Z] 17:44:06 INFO - operator T*() const&
[task 2020-02-24T17:44:06.869Z] 17:44:06 INFO - ^
[task 2020-02-24T17:44:06.869Z] 17:44:06 INFO - z:/build/build/src/obj-firefox/dist/include/mozilla/RefPtr.h(305,3): note: candidate function
[task 2020-02-24T17:44:06.869Z] 17:44:06 INFO - operator T*() const&& = delete;
[task 2020-02-24T17:44:06.870Z] 17:44:06 INFO - ^
[task 2020-02-24T17:44:06.870Z] 17:44:06 INFO - z:/build/build/src/ipc/mscom/Interceptor.cpp(50,61): note: passing argument to parameter 'aValue' here
[task 2020-02-24T17:44:06.870Z] 17:44:06 INFO - void Put(IUnknown* aKey, already_AddRefed<IWeakReference> aValue) {
[task 2020-02-24T17:44:06.870Z] 17:44:06 INFO - ^
[task 2020-02-24T17:44:06.870Z] 17:44:06 INFO - 2 errors generated.
[task 2020-02-24T17:44:06.870Z] 17:44:06 INFO - z:/build/build/src/config/rules.mk:731: recipe for target 'Interceptor.obj' failed
[task 2020-02-24T17:44:06.871Z] 17:44:06 INFO - mozmake.EXE[4]: *** [Interceptor.obj] Error 1
[task 2020-02-24T17:44:06.871Z] 17:44:06 INFO - mozmake.EXE[4]: Leaving directory 'z:/build/build/src/obj-firefox/ipc/mscom'
[task 2020-02-24T17:44:06.871Z] 17:44:06 INFO - mozmake.EXE[4]: *** Waiting for unfinished jobs....
Flags: needinfo?(sgiesecke)
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fd95df16f9ca
Make fallible nsTArray::EmplaceBack callable. r=froydnj
Comment 6•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox75:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in
before you can comment on or make changes to this bug.
Description
•