diff --git a/src/engine/serialization.cpp b/src/engine/serialization.cpp index bc281958de2..5f500edb3a3 100644 --- a/src/engine/serialization.cpp +++ b/src/engine/serialization.cpp @@ -186,7 +186,12 @@ struct StorageContainer::Implementation { typename TypeInfo::StoredType rawGet(const std::string& key, const typename TypeInfo::StoredType& defaultValue = - typename TypeInfo::StoredType()) const +#ifdef _MSC_VER // Microsoft, why? + TypeInfo::StoredType() +#else + typename TypeInfo::StoredType() +#endif + ) const { auto iter = m_content.find(key); if(iter == m_content.end()) {