1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Removed extra ; that GCC didn't like (fixes pendantic warning treated as error)

This commit is contained in:
florent.teppe 2022-07-20 09:39:14 +02:00
parent 800ada37ae
commit 30549155e0

View File

@ -808,32 +808,32 @@ void ESMStore::removeMissingObjects(Store<T>& store)
} }
#define OPENMW_ESM3_INSERT(__Type) template<> const __Type* ESMStore::insert<__Type>(const __Type &toInsert) { return ESMStoreImp::esm3StoreInsert(*this, toInsert); } #define OPENMW_ESM3_INSERT(__Type) template<> const __Type* ESMStore::insert<__Type>(const __Type &toInsert) { return ESMStoreImp::esm3StoreInsert(*this, toInsert); }
OPENMW_ESM3_INSERT(ESM::Book); OPENMW_ESM3_INSERT(ESM::Book)
OPENMW_ESM3_INSERT(ESM::Armor); OPENMW_ESM3_INSERT(ESM::Armor)
OPENMW_ESM3_INSERT(ESM::Class); OPENMW_ESM3_INSERT(ESM::Class)
OPENMW_ESM3_INSERT(ESM::Enchantment); OPENMW_ESM3_INSERT(ESM::Enchantment)
OPENMW_ESM3_INSERT(ESM::Potion); OPENMW_ESM3_INSERT(ESM::Potion)
OPENMW_ESM3_INSERT(ESM::Weapon); OPENMW_ESM3_INSERT(ESM::Weapon)
OPENMW_ESM3_INSERT(ESM::Clothing); OPENMW_ESM3_INSERT(ESM::Clothing)
OPENMW_ESM3_INSERT(ESM::Spell); OPENMW_ESM3_INSERT(ESM::Spell)
#undef OPENMW_ESM3_INSERT #undef OPENMW_ESM3_INSERT
#define OPENMW_ESM3_INSERT_STATIC(__Type) template<> const __Type* ESMStore::insertStatic<__Type>(const __Type &toInsert) { return ESMStoreImp::esm3insertStatic(*this, toInsert); } #define OPENMW_ESM3_INSERT_STATIC(__Type) template<> const __Type* ESMStore::insertStatic<__Type>(const __Type &toInsert) { return ESMStoreImp::esm3insertStatic(*this, toInsert); }
OPENMW_ESM3_INSERT_STATIC(ESM::GameSetting); OPENMW_ESM3_INSERT_STATIC(ESM::GameSetting)
OPENMW_ESM3_INSERT_STATIC(ESM::Static); OPENMW_ESM3_INSERT_STATIC(ESM::Static)
OPENMW_ESM3_INSERT_STATIC(ESM::Door); OPENMW_ESM3_INSERT_STATIC(ESM::Door)
OPENMW_ESM3_INSERT_STATIC(ESM::Global); OPENMW_ESM3_INSERT_STATIC(ESM::Global)
OPENMW_ESM3_INSERT_STATIC(ESM::NPC); OPENMW_ESM3_INSERT_STATIC(ESM::NPC)
#undef OPENMW_ESM3_INSERT_STATIC #undef OPENMW_ESM3_INSERT_STATIC
#define OPENMW_ESM3_OVERRIDE_RECORD(__Type) template<> const __Type* ESMStore::overrideRecord<__Type>(const __Type &toInsert) { return ESMStoreImp::esm3overrideRecord(*this, toInsert); } #define OPENMW_ESM3_OVERRIDE_RECORD(__Type) template<> const __Type* ESMStore::overrideRecord<__Type>(const __Type &toInsert) { return ESMStoreImp::esm3overrideRecord(*this, toInsert); }
OPENMW_ESM3_OVERRIDE_RECORD(ESM::Container); OPENMW_ESM3_OVERRIDE_RECORD(ESM::Container)
OPENMW_ESM3_OVERRIDE_RECORD(ESM::Creature); OPENMW_ESM3_OVERRIDE_RECORD(ESM::Creature)
OPENMW_ESM3_OVERRIDE_RECORD(ESM::CreatureLevList); OPENMW_ESM3_OVERRIDE_RECORD(ESM::CreatureLevList)
OPENMW_ESM3_OVERRIDE_RECORD(ESM::Door); OPENMW_ESM3_OVERRIDE_RECORD(ESM::Door)
OPENMW_ESM3_OVERRIDE_RECORD(ESM::ItemLevList); OPENMW_ESM3_OVERRIDE_RECORD(ESM::ItemLevList)
OPENMW_ESM3_OVERRIDE_RECORD(ESM::NPC); OPENMW_ESM3_OVERRIDE_RECORD(ESM::NPC)
#undef OPENMW_ESM3_OVERRIDE_RECORD #undef OPENMW_ESM3_OVERRIDE_RECORD
template <> const Store<ESM::MagicEffect>& ESMStore::get<ESM::MagicEffect>() const { return mStoreImp->mMagicEffect; } template <> const Store<ESM::MagicEffect>& ESMStore::get<ESM::MagicEffect>() const { return mStoreImp->mMagicEffect; }