mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Added comments to clarify a24341d
This commit is contained in:
parent
4baf519700
commit
2b53ff6c54
1 changed files with 2 additions and 0 deletions
|
|
@ -816,6 +816,7 @@ struct JavascriptEngine::RootObject : public DynamicObject
|
|||
for (int i = 0; i < values.size(); ++i)
|
||||
a.add (values.getUnchecked(i)->getResult (s));
|
||||
|
||||
// std::move() needed here for older compilers
|
||||
return std::move (a);
|
||||
}
|
||||
|
||||
|
|
@ -1625,6 +1626,7 @@ struct JavascriptEngine::RootObject : public DynamicObject
|
|||
for (int i = 2; i < a.numArguments; ++i)
|
||||
array->insert (start++, get (a, i));
|
||||
|
||||
// std::move() needed here for older compilers
|
||||
return std::move (itemsRemoved);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue