1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-27 11:36:52 +00:00

fix compile

This commit is contained in:
florent.teppe 2022-09-03 20:04:31 +02:00
parent 7bd7105345
commit 1ed22a298d

View file

@ -307,7 +307,7 @@ namespace MWWorld
ESMStore::ESMStore() ESMStore::ESMStore()
{ {
mStoreImp = std::make_unique<ESMStoreImp>(*this); 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; mDynamicCount = 0;
mStoreImp->SetupAfterStoresCreation(*this); mStoreImp->SetupAfterStoresCreation(*this);