зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1808379 - don't return reference to temporary object r=yjuglaret
Differential Revision: https://phabricator.services.mozilla.com/D165995
This commit is contained in:
Родитель
8bda354b80
Коммит
d86f570a9a
|
@ -468,7 +468,8 @@ static const Maybe<Vector<const wchar_t*>>& GetPrespawnCigExceptionModules() {
|
|||
|
||||
return sDependentModules;
|
||||
#else
|
||||
return Nothing();
|
||||
static const Maybe<Vector<const wchar_t*>> sNothing = Nothing();
|
||||
return sNothing;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче