1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

some 'retarded' fixes for compatibility (lib only)

This commit is contained in:
Łukasz Wychrystenko
2009-03-14 18:19:07 +00:00
parent 4373f211f1
commit eaa7ea643a
4 changed files with 132 additions and 115 deletions

View File

@ -200,7 +200,7 @@ CTypeList::CTypeList()
registerTypes(*this);
}
ui16 CTypeList::registerType( const type_info *type )
ui16 CTypeList::registerType( const std::type_info *type )
{
TTypeMap::const_iterator i = types.find(type);
if(i != types.end())
@ -212,7 +212,7 @@ ui16 CTypeList::registerType( const type_info *type )
return id;
}
ui16 CTypeList::getTypeID( const type_info *type )
ui16 CTypeList::getTypeID( const std::type_info *type )
{
TTypeMap::const_iterator i = types.find(type);
if(i != types.end())