1
0
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:
Ivan Savenko 2023-04-19 13:54:57 +03:00 committed by GitHub
commit 9c62748151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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