From 1ed22a298db9d4ceea34d78e1b0d4cafb8ef3ee0 Mon Sep 17 00:00:00 2001 From: "florent.teppe" Date: Sat, 3 Sep 2022 20:04:31 +0200 Subject: [PATCH] fix compile --- apps/openmw/mwworld/esmstore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwworld/esmstore.cpp b/apps/openmw/mwworld/esmstore.cpp index aa4cff3ad2..47e4a156b7 100644 --- a/apps/openmw/mwworld/esmstore.cpp +++ b/apps/openmw/mwworld/esmstore.cpp @@ -307,7 +307,7 @@ namespace MWWorld ESMStore::ESMStore() { - mStoreImp = std::make_unique(*this); + mStoreImp = std::make_unique(); std::apply([this](auto& ...x) {(ESMStoreImp::AssignStoreToIndex(*this, x), ...); }, mStoreImp->mStores); mDynamicCount = 0; mStoreImp->SetupAfterStoresCreation(*this);