StdCompiler: Add CompileFunc for std::string

Somehow, MSVC seems to synthesize a CompileFunc for std::string??
alut-include-path
Nicolas Hake 2017-03-23 22:31:40 +01:00
parent c56bc4193e
commit b312ec96b4
1 changed files with 5 additions and 0 deletions

View File

@ -320,6 +320,11 @@ inline void CompileFunc(T &rStruct, StdCompiler *pComp)
rStruct.CompileFunc(pComp);
}
inline void CompileFunc(std::string &s, StdCompiler *comp)
{
comp->String(s);
}
template <class T>
void CompileNewFunc(T *&pStruct, StdCompiler *pComp)
{