Upgrade JUCE to 5.4.7 (#88)

* Update to JUCE 5.4.7
* Update our header copies in include/
* Update CMake banner message
* Gitlab builder updates
- linux => linux-bionic
- Newer macOS SDK
- cmake commands for configure/build/install steps on Win/Mac
  (Linux cmake is too old)
This commit is contained in:
Frank Dana
2020-09-11 08:10:25 -04:00
committed by GitHub
parent 7b76f1de9c
commit 12ddb3df00
250 changed files with 6165 additions and 4582 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -816,7 +816,8 @@ struct JavascriptEngine::RootObject : public DynamicObject
for (int i = 0; i < values.size(); ++i)
a.add (values.getUnchecked(i)->getResult (s));
return a;
// std::move() needed here for older compilers
return std::move (a);
}
OwnedArray<Expression> values;
@@ -1183,7 +1184,7 @@ struct JavascriptEngine::RootObject : public DynamicObject
if (matchIf (TokenTypes::comma))
{
std::unique_ptr<BlockStatement> block (new BlockStatement (location));
block->statements.add (s.release());
block->statements.add (std::move (s));
block->statements.add (parseVar());
return block.release();
}
@@ -1625,7 +1626,8 @@ struct JavascriptEngine::RootObject : public DynamicObject
for (int i = 2; i < a.numArguments; ++i)
array->insert (start++, get (a, i));
return itemsRemoved;
// std::move() needed here for older compilers
return std::move (itemsRemoved);
}
return var::undefined();