mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-24 11:11:34 +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>();
|
const int storeIndex = ESMStore::getTypeIndex<T>();
|
||||||
assert(ESMStore::getTypeIndex<T>() == storeIndex);
|
assert(ESMStore::getTypeIndex<T>() == storeIndex);
|
||||||
if (stores.mStores.size() <= storeIndex)
|
const std::size_t index_t(storeIndex)
|
||||||
stores.mStores.resize(storeIndex + 1);
|
if (stores.mStores.size() <= index_t)
|
||||||
|
stores.mStores.resize(index_t + 1);
|
||||||
|
|
||||||
assert(&store == &std::get<Store<T>>(stores.mStoreImp->mStores));
|
assert(&store == &std::get<Store<T>>(stores.mStoreImp->mStores));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue