mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-30 04:30:42 +02:00
Merge pull request #2036 from rilian-la-te/fix-serializer-assert
CSerializer: fix debug assertion
This commit is contained in:
commit
9c62748151
@ -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