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:
Basilisk-Dev 2023-10-09 22:13:50 -04:00 • committed by roytam1
commit 348f761a9b

View file

@ -223,7 +223,7 @@ public:
Dispatch(); Dispatch();
} }
const T& ReturnValue() const { T ReturnValue() const {
if (mSuccess) { if (mSuccess) {
return mSuccessValue; return mSuccessValue;
} else { } else {