mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 00:27:29 +09:00
Issue #2332 - Fix CamerasChild helper to return by value instead of out-of-scope reference
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1318132
This commit is contained in:
parent
763cdb00cb
commit
348f761a9b
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ public:
|
||||||
Dispatch();
|
Dispatch();
|
||||||
}
|
}
|
||||||
|
|
||||||
const T& ReturnValue() const {
|
T ReturnValue() const {
|
||||||
if (mSuccess) {
|
if (mSuccess) {
|
||||||
return mSuccessValue;
|
return mSuccessValue;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue