1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Aplly some fix for merge and explicitly specify type for std::max

This commit is contained in:
Arseniy Shestakov 2016-02-08 04:09:02 +03:00
parent 5f23091770
commit a13aec4fd7
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
"duration" : [
"UNITL_BEING_ATTACKED",
"N_TURNS"
]}
]
}
}
}

View File

@ -262,7 +262,7 @@ ui32 ObjectTemplate::getWidth() const
ui32 ret = 0;
for (auto row : usedTiles)
{
ret = std::max(ret, row.size());
ret = std::max<ui32>(ret, row.size());
}
return ret;
}