1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Fixes from code review

This commit is contained in:
Dydzio
2024-12-05 21:16:06 +01:00
parent 7a701b39fb
commit 7be31c94f2
4 changed files with 6 additions and 13 deletions

View File

@@ -45,8 +45,6 @@ public:
std::vector<ObjectInstanceID> deletedObjectsInstances;
std::vector<ObjectInstanceID> unused;
template <typename Handler>
void serialize(Handler & h)
{
@@ -73,10 +71,6 @@ public:
{
h & deletedObjectsInstances;
}
else
{
h & unused;
}
}
virtual void serializeJson(JsonSerializeFormat & handler);