Skip to content

Commit

Permalink
fixed naming convention issue
Browse files Browse the repository at this point in the history
  • Loading branch information
florent.teppe committed Sep 6, 2022
1 parent e23d9c1 commit 564c5d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/openmw/mwworld/esmstore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ namespace MWWorld
IDMap mStaticIds;

template<typename T>
static int AssignStoreToIndex(ESMStore& stores, Store<T>& store)
static int assignStoreToIndex(ESMStore& stores, Store<T>& store)
{
const std::size_t storeIndex = ESMStore::getTypeIndex<T>();
if (stores.mStores.size() <= storeIndex)
Expand All @@ -169,7 +169,7 @@ namespace MWWorld
return 0;
}

void SetupAfterStoresCreation(ESMStore& store)
void setupAfterStoresCreation(ESMStore& store)
{
for (const auto& recordStorePair : mRecNameToStore)
{
Expand Down Expand Up @@ -201,9 +201,9 @@ namespace MWWorld
ESMStore::ESMStore()
{
mStoreImp = std::make_unique<ESMStoreImp>();
std::apply([this](auto& ...x) {(ESMStoreImp::AssignStoreToIndex(*this, x), ...); }, mStoreImp->mStores);
std::apply([this](auto& ...x) {(ESMStoreImp::assignStoreToIndex(*this, x), ...); }, mStoreImp->mStores);
mDynamicCount = 0;
mStoreImp->SetupAfterStoresCreation(*this);
mStoreImp->setupAfterStoresCreation(*this);
getWritable<ESM::Pathgrid>().setCells(getWritable<ESM::Cell>());
}

Expand Down

0 comments on commit 564c5d6

Please sign in to comment.