1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Renamed UNUSED -> MAYBE_UNUSED macro to match c++17 attribute name

This commit is contained in:
Ivan Savenko
2022-12-07 18:06:47 +02:00
parent 3219e322ae
commit fb6b3c31e8
8 changed files with 19 additions and 17 deletions

View File

@@ -1768,7 +1768,7 @@ void CGameState::initTowns()
for(auto building : vti->builtBuildings)
{
assert(vti->town->buildings.at(building) != nullptr);
UNUSED(building);
MAYBE_UNUSED(building);
}
//town events