1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Update docs, fix sonar

This commit is contained in:
Ivan Savenko
2025-06-15 15:11:09 +03:00
parent 0fa83c0478
commit 899701a87d
7 changed files with 18 additions and 13 deletions

View File

@@ -51,12 +51,12 @@ public:
return mapping.at(campaignToMap.at(format));
}
const JsonNode & campaignOverrides(std::string & campaignName)
const JsonNode & campaignOverrides(const std::string & campaignName)
{
return campaignOverridesConfig[campaignName];
}
const JsonNode & mapOverrides(std::string & mapName)
const JsonNode & mapOverrides(const std::string & mapName)
{
return mapOverridesConfig[mapName];
}