diff --git a/code/TinyFormatter.h b/code/TinyFormatter.h index 4380f7449..8c74dddd9 100644 --- a/code/TinyFormatter.h +++ b/code/TinyFormatter.h @@ -127,6 +127,15 @@ public: return *this; } + // Fix for MSVC8 + // See https://sourceforge.net/projects/assimp/forums/forum/817654/topic/4372824 + template + basic_formatter& operator, (TToken& s) { + underlying << s; + return *this; + } + + private: mutable stringstream underlying; };