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:
parent
cb394754c3
commit
6448bc6a50
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user