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

Apply formatting on changed files

This commit is contained in:
Ivan Savenko
2025-07-07 19:19:17 +03:00
parent 8721bdd728
commit 33431adb27
14 changed files with 203 additions and 179 deletions

View File

@@ -28,7 +28,7 @@ class DLL_LINKAGE CStackBasicDescriptor
public:
CStackBasicDescriptor();
CStackBasicDescriptor(const CreatureID & id, TQuantity Count);
CStackBasicDescriptor(const CCreature *c, TQuantity Count);
CStackBasicDescriptor(const CCreature * c, TQuantity Count);
virtual ~CStackBasicDescriptor() = default;
const Creature * getType() const;
@@ -39,9 +39,10 @@ public:
virtual void setType(const CCreature * c);
virtual void setCount(TQuantity amount);
friend bool operator== (const CStackBasicDescriptor & l, const CStackBasicDescriptor & r);
friend bool operator==(const CStackBasicDescriptor & l, const CStackBasicDescriptor & r);
template <typename Handler> void serialize(Handler &h)
template<typename Handler>
void serialize(Handler & h)
{
if(h.saving)
{