1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Minor fixes. fix

- Brrr... VS is idiotproof.
This commit is contained in:
Karol 2014-08-30 19:08:04 +02:00
parent 3f720901ec
commit 80998b9dc3

View File

@ -160,7 +160,7 @@ static const int3 dirs[] = { int3(0,1,0),int3(0,-1,0),int3(-1,0,0),int3(+1,0,0),
template<typename Container>
int3 findClosestTile (Container & container, int3 dest)
{
static_assert(std::is_same<Container::value_type, int3>::value,
static_assert(std::is_same<typename Container::value_type, int3>::value,
"findClosestTile requires <int3> container.");
int3 result(-1, -1, -1);