1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Fix formatting

This commit is contained in:
Vadim Markovtsev 2016-10-29 17:00:12 +02:00
parent 24793e115c
commit 9f967b4d7a
7 changed files with 21 additions and 22 deletions

View File

@ -1348,11 +1348,6 @@ si32 CArtifactSet::getArtTypeId(ArtifactPosition pos) const
return a->artType->id;
}
CArtifactSet::~CArtifactSet()
{
}
ArtSlotInfo & CArtifactSet::retreiveNewArtSlot(ArtifactPosition slot)
{
assert(!vstd::contains(artifactsWorn, slot));

View File

@ -324,7 +324,7 @@ public:
si32 getArtTypeId(ArtifactPosition pos) const;
virtual ArtBearer::ArtBearer bearerType() const = 0;
virtual ~CArtifactSet();
virtual ~CArtifactSet() = default;
template <typename Handler> void serialize(Handler &h, const int version)
{

View File

@ -30,6 +30,7 @@ public:
CStackBasicDescriptor();
CStackBasicDescriptor(CreatureID id, TQuantity Count);
CStackBasicDescriptor(const CCreature *c, TQuantity Count);
virtual ~CStackBasicDescriptor() = default;
template <typename Handler> void serialize(Handler &h, const int version)
{
@ -84,7 +85,7 @@ public:
CStackInstance();
CStackInstance(CreatureID id, TQuantity count);
CStackInstance(const CCreature *cre, TQuantity count);
~CStackInstance();
virtual ~CStackInstance();
void setType(CreatureID creID);
void setType(const CCreature *c);
@ -111,7 +112,7 @@ public:
void init() override;
CCommanderInstance();
CCommanderInstance (CreatureID id);
~CCommanderInstance();
virtual ~CCommanderInstance();
void setAlive (bool alive);
void giveStackExp (TExpType exp) override;
void levelUp ();

View File

@ -140,6 +140,9 @@ public:
std::vector<std::string> campaignMapNames;
std::vector<std::vector<std::string>> campaignRegionNames;
void readToVector(std::string sourceName, std::vector<std::string> & dest);
static void readToVector(std::string sourceName, std::vector<std::string> &dest);
CGeneralTextHandler();
CGeneralTextHandler(const CGeneralTextHandler&) = delete;
CGeneralTextHandler operator=(const CGeneralTextHandler&) = delete;
};