1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

vcmi: build lua with STRICT_COMPILATION

This is a fixes for some LUA warnings for building it with strict
compilation.
This commit is contained in:
Konstantin
2023-02-05 01:28:44 +03:00
parent 14d27c788f
commit fb38050f9b
2 changed files with 2 additions and 2 deletions

View File

@ -329,7 +329,7 @@ JsonNode LuaContext::saveState()
{
JsonNode data;
getGlobal(STATE_FIELD, data);
return std::move(data);
return data;
}
void LuaContext::pop(JsonNode & value)