mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-23 06:11:33 +00:00
linux compile
This commit is contained in:
parent
ee06cccbe1
commit
cbb9b65286
1 changed files with 3 additions and 2 deletions
|
@ -272,8 +272,9 @@ namespace MWWorld
|
|||
{
|
||||
const int storeIndex = ESMStore::getTypeIndex<T>();
|
||||
assert(ESMStore::getTypeIndex<T>() == storeIndex);
|
||||
if (stores.mStores.size() <= storeIndex)
|
||||
stores.mStores.resize(storeIndex + 1);
|
||||
const std::size_t index_t(storeIndex)
|
||||
if (stores.mStores.size() <= index_t)
|
||||
stores.mStores.resize(index_t + 1);
|
||||
|
||||
assert(&store == &std::get<Store<T>>(stores.mStoreImp->mStores));
|
||||
|
||||
|
|
Loading…
Reference in a new issue