mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 18:09:43 +00:00
function doesn't need to return int
This commit is contained in:
parent
b1d5d604be
commit
e961ac6f7c
1 changed files with 1 additions and 2 deletions
|
@ -147,7 +147,7 @@ namespace MWWorld
|
||||||
IDMap mStaticIds;
|
IDMap mStaticIds;
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
static int assignStoreToIndex(ESMStore& stores, Store<T>& store)
|
static void assignStoreToIndex(ESMStore& stores, Store<T>& store)
|
||||||
{
|
{
|
||||||
const std::size_t storeIndex = ESMStore::getTypeIndex<T>();
|
const std::size_t storeIndex = ESMStore::getTypeIndex<T>();
|
||||||
if (stores.mStores.size() <= storeIndex)
|
if (stores.mStores.size() <= storeIndex)
|
||||||
|
@ -165,7 +165,6 @@ namespace MWWorld
|
||||||
stores.mStoreImp->mRecNameToStore[recName] = &store;
|
stores.mStoreImp->mRecNameToStore[recName] = &store;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue