1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 09:23:53 +00:00

Fix instantiation on non-Visual Studio

This commit is contained in:
Alexander "Ace" Olofsson 2015-09-24 15:55:38 +02:00
parent 7d4125d97f
commit caa119f13c

View file

@ -1029,7 +1029,8 @@ namespace MWWorld
// Script
//=========================================================================
inline void Store<ESM::Script>::load(ESM::ESMReader &esm, const std::string &id) {
template <>
void Store<ESM::Script>::load(ESM::ESMReader &esm, const std::string &id) {
ESM::Script scpt;
scpt.load(esm);
Misc::StringUtils::toLower(scpt.mId);
@ -1045,7 +1046,8 @@ namespace MWWorld
// StartScript
//=========================================================================
inline void Store<ESM::StartScript>::load(ESM::ESMReader &esm, const std::string &id)
template <>
void Store<ESM::StartScript>::load(ESM::ESMReader &esm, const std::string &id)
{
ESM::StartScript s;
s.load(esm);