From 850092a5e576c278f85edd99686813f3e8629282 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 11 Dec 2015 17:22:46 +0100 Subject: [PATCH] Store: be consistent about struct / class usage Don't inherit a struct from a class, and vice versa. --- apps/openmw/mwworld/store.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/openmw/mwworld/store.hpp b/apps/openmw/mwworld/store.hpp index 88457c950..617c3552a 100644 --- a/apps/openmw/mwworld/store.hpp +++ b/apps/openmw/mwworld/store.hpp @@ -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 : public IndexedStore + class Store : public IndexedStore { + public: Store(); }; template <> - struct Store : public IndexedStore + class Store : public IndexedStore { + public: Store(); };