1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:19:55 +00:00

Store: be consistent about struct / class usage

Don't inherit a struct from a class, and vice versa.
This commit is contained in:
scrawl 2015-12-11 17:22:46 +01:00
parent 0f3660e268
commit 850092a5e5

View file

@ -27,8 +27,9 @@ namespace MWWorld
RecordId(const std::string &id = "", bool isDeleted = false);
};
struct StoreBase
class StoreBase
{
public:
virtual ~StoreBase() {}
virtual void setUp() {}
@ -351,14 +352,16 @@ namespace MWWorld
template <>
struct Store<ESM::Skill> : public IndexedStore<ESM::Skill>
class Store<ESM::Skill> : public IndexedStore<ESM::Skill>
{
public:
Store();
};
template <>
struct Store<ESM::MagicEffect> : public IndexedStore<ESM::MagicEffect>
class Store<ESM::MagicEffect> : public IndexedStore<ESM::MagicEffect>
{
public:
Store();
};