mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
build fix for mac os:
1) type_info visibility for CatapultAttack 2) using IObjectInfo::CArmyStructure in min_element : operator< should be const
This commit is contained in:
@ -65,7 +65,7 @@ public:
|
||||
walkersStrength(0)
|
||||
{}
|
||||
|
||||
bool operator <(const CArmyStructure & other)
|
||||
bool operator <(const CArmyStructure & other) const
|
||||
{
|
||||
return this->totalStrength < other.totalStrength;
|
||||
}
|
||||
|
Reference in New Issue
Block a user