mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 21:09:27 -06:00
Remove warnings
This commit is contained in:
@@ -36,8 +36,9 @@ public:
|
||||
|
||||
void handleJson(const nlohmann::json& json) override;
|
||||
bool isDone() const override;
|
||||
|
||||
private:
|
||||
void runScript(const std::string& script, bool returnValue);
|
||||
void runScript(std::string script, bool returnValue);
|
||||
|
||||
bool _waitingForReturnValue = true;
|
||||
};
|
||||
|
||||
@@ -176,7 +176,7 @@ void LuaScriptTopic::handleJson(const nlohmann::json& json) {
|
||||
}
|
||||
}
|
||||
|
||||
void LuaScriptTopic::runScript(const std::string& script, bool shouldReturn) {
|
||||
void LuaScriptTopic::runScript(std::string script, bool shouldReturn) {
|
||||
scripting::ScriptEngine::ScriptCallback callback;
|
||||
if (shouldReturn) {
|
||||
callback = [this](ghoul::Dictionary data) {
|
||||
|
||||
Reference in New Issue
Block a user