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