vcmi/vcmi — pull request #20 by Haryaalcar (2014-06-25 22:30:51+00:00)
Title: build fix for mac os:

1) type_info visibility for CatapultAttack
```
Undefined symbols for architecture x86_64:
"typeinfo for CatapultAttack", referenced from:
std::type_info const* CTypeList::getTypeInfo(CatapultAttack const*) in Client.o
```
2) using IObjectInfo::CArmyStructure in min_element : operator< should be const
```
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:685:97: error: invalid operands to binary expression ('const IObjectInfo::CArmyStructure' and 'const IObjectInfo::CArmyStructure')
_LIBCPP_INLINE_VISIBILITY bool operator()(const _T1& __x, const _T1& __y) const {return __x < __y;}
~~~ ^ ~~~
...
vcmi/lib/mapObjects/CObjectClassesHandler.h:67:8: note: candidate function not viable: 'this' argument has type 'const IObjectInfo::CArmyStructure', but method is not marked const
bool operator <(const CArmyStructure & other)
```