1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +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 // 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; ESM::Script scpt;
scpt.load(esm); scpt.load(esm);
Misc::StringUtils::toLower(scpt.mId); Misc::StringUtils::toLower(scpt.mId);
@ -1045,7 +1046,8 @@ namespace MWWorld
// StartScript // 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; ESM::StartScript s;
s.load(esm); s.load(esm);