mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:26:40 +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);
 | 
					        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();
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue