1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

Fixed gcc/clang warnings

This commit is contained in:
Ivan Savenko
2015-12-04 01:06:02 +02:00
parent c2f4991e99
commit faa7cbff18
13 changed files with 41 additions and 33 deletions

View File

@ -467,7 +467,7 @@ static JsonNode loadModSettings(std::string path)
JsonNode addMeta(JsonNode config, std::string meta)
{
config.setMeta(meta);
return std::move(config);
return config;
}
CModInfo::CModInfo(std::string identifier,const JsonNode & local, const JsonNode & config):