mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-13 23:40:27 -06:00
added proper return value to cachedScripts function
This commit is contained in:
@@ -240,11 +240,13 @@ std::vector<std::string> ScriptEngine::cachedScripts(){
|
||||
for(innerIt = outerIt->second.cbegin();
|
||||
innerIt != outerIt->second.cend();
|
||||
++innerIt){
|
||||
|
||||
retVal.push_back(innerIt->second);
|
||||
}
|
||||
}
|
||||
|
||||
_cachedScriptsMutex.unlock();
|
||||
|
||||
return retVal;
|
||||
}
|
||||
|
||||
bool ScriptEngine::parseLibraryAndFunctionNames(std::string &library, std::string &function, const std::string &script){
|
||||
|
||||
Reference in New Issue
Block a user