1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2025-07-07 19:50:52 +03:00
parent 33431adb27
commit 4c2d67eb45
2 changed files with 3 additions and 8 deletions

View File

@@ -10,6 +10,7 @@
#pragma once
#include "CSimpleArmy.h"
#include "CStackInstance.h"
#include "serializer/Serializeable.h"
@@ -37,10 +38,10 @@ namespace NArmyFormation
static const std::vector<std::string> names{"wide", "tight"};
}
class DLL_LINKAGE CCreatureSet : public IArmyDescriptor, public virtual Serializeable //seven combined creatures
class DLL_LINKAGE CCreatureSet : public IArmyDescriptor, public virtual Serializeable, boost::noncopyable //seven combined creatures
{
CCreatureSet(const CCreatureSet &) = delete;
CCreatureSet & operator=(const CCreatureSet &);
CCreatureSet & operator=(const CCreatureSet &) = delete;
public:
TSlots stacks; //slots[slot_id]->> pair(creature_id,creature_quantity)