mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
macOS: fix packet deserialization (#479)
This commit is contained in:
committed by
Arseniy Shestakov
parent
de5f1461ba
commit
96215233bc
@@ -99,7 +99,9 @@ public:
|
||||
else
|
||||
{
|
||||
assert(!i->second.empty());
|
||||
#ifndef __APPLE__
|
||||
assert(i->second.type() == typeid(VectorizedObjectInfo<T, U>));
|
||||
#endif
|
||||
VectorizedObjectInfo<T, U> *ret = &(boost::any_cast<VectorizedObjectInfo<T, U>&>(i->second));
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user