added proper return value to cachedScripts function

This commit is contained in:
Joakim Kilby
2015-06-26 14:06:20 +02:00
parent c1cf5f4581
commit 6057019d20

View File

@@ -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){