mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
CSerializer: fix debug assertion
Fix compilation in debug mode
This commit is contained in:
parent
ff5e98e78b
commit
7c4badc890
@ -99,7 +99,7 @@ public:
|
||||
return nullptr;
|
||||
else
|
||||
{
|
||||
assert(!i->second.empty());
|
||||
assert(i->second.has_value());
|
||||
#ifndef __APPLE__
|
||||
assert(i->second.type() == typeid(VectorizedObjectInfo<T, U>));
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user