forked from Mirrors/openclonk
StdCompiler: Add CompileFunc for std::string
Somehow, MSVC seems to synthesize a CompileFunc for std::string??alut-include-path
parent
c56bc4193e
commit
b312ec96b4
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue