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

[gcc] fix build

This commit is contained in:
AlexVinS 2015-04-12 08:25:53 +03:00
parent cb394754c3
commit 6448bc6a50

View File

@ -500,7 +500,7 @@ void CRmgTemplateZone::fractalize(CMapGenerator* gen)
for (auto node : nodes)
{
boost::sort(nodes, [&node](int3& ourNode, int3& otherNode) -> bool
boost::sort(nodes, [&node](const int3& ourNode, const int3& otherNode) -> bool
{
return node.dist2dSQ(ourNode) < node.dist2dSQ(otherNode);
}