mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Compile fix.
This commit is contained in:
parent
bf9f0beb01
commit
78b5e11b93
@ -317,7 +317,7 @@ namespace VERMInterpreter
|
||||
}
|
||||
|
||||
template<typename T, typename SecType>
|
||||
bool isA(SecType & opt)
|
||||
bool isA(const SecType & opt)
|
||||
{
|
||||
if(opt.type() == typeid(T))
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user