1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

function doesn't need to return int

This commit is contained in:
florent.teppe 2022-09-06 23:30:51 +02:00
parent b1d5d604be
commit e961ac6f7c

View File

@ -147,7 +147,7 @@ namespace MWWorld
IDMap mStaticIds;
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>();
if (stores.mStores.size() <= storeIndex)
@ -165,7 +165,6 @@ namespace MWWorld
stores.mStoreImp->mRecNameToStore[recName] = &store;
}
}
return 0;
}
};