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:
parent
0f3660e268
commit
850092a5e5
1 changed files with 6 additions and 3 deletions
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue