1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Linux compilation

This commit is contained in:
florent.teppe 2022-07-23 18:45:30 +02:00
parent 59ebee634b
commit a7207a9220

View File

@ -127,12 +127,14 @@ namespace
}
}
template <int storeIndex>
struct StoreIndexToRecordType {
}
template <int storeIndex>
struct StoreIndexToRecordType {
typedef void recordType;
};
}
};
static int sRecordTypeCounter = 0;
@ -368,7 +370,7 @@ namespace MWWorld
assert(sRecordTypeCounter == sRecordIndexCount); //Otherwise something wen wrong with assigning index to stores
constexpr_for<0, sRecordIndexCount,1> ([this](auto storeIndex)
{
ESMStoreImp::createStore<StoreIndexToRecordType<storeIndex>::recordType>(*this);
ESMStoreImp::createStore<typename StoreIndexToRecordType<storeIndex>::recordType>(*this);
});
mStoreImp = std::make_unique<ESMStoreImp>(*this);