From 9a19bb84a4d7e96b3ff94b944a3c8902109b9ebb Mon Sep 17 00:00:00 2001 From: "florent.teppe" Date: Sat, 10 Sep 2022 22:58:15 +0200 Subject: [PATCH] fixed Clang and whitespace difference with master --- apps/openmw/mwworld/cellstore.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/openmw/mwworld/cellstore.cpp b/apps/openmw/mwworld/cellstore.cpp index 486425156b..bfd7cf966c 100644 --- a/apps/openmw/mwworld/cellstore.cpp +++ b/apps/openmw/mwworld/cellstore.cpp @@ -41,7 +41,6 @@ #include #include - #include "../mwbase/environment.hpp" #include "../mwbase/luamanager.hpp" #include "../mwbase/mechanicsmanager.hpp" @@ -152,7 +151,7 @@ namespace // Deleted reference that did not come from a content file -> ignore continue; } - using StateType = RecordToState::StateType; + using StateType = typename RecordToState::StateType; StateType state; iter->save (state); @@ -209,7 +208,7 @@ namespace { const MWWorld::ESMStore& esmStore = MWBase::Environment::get().getWorld()->getStore(); - using StateType = RecordToState::StateType; + using StateType = typename RecordToState::StateType; StateType state; state.mRef = cref; state.load(reader); @@ -245,7 +244,7 @@ namespace } else if(state.mVersion < 20) { - if constexpr (std::is_same_v|| std::is_same_v) + if constexpr (std::is_same_v || std::is_same_v) MWWorld::convertStats(state.mCreatureStats); }