mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Aplly some fix for merge and explicitly specify type for std::max
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
"duration" : [
|
||||
"UNITL_BEING_ATTACKED",
|
||||
"N_TURNS"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user