Browse Source

# fix vc8 compilation. See https://sourceforge.net/projects/assimp/forums/forum/817654/topic/4372824

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@904 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg 14 years ago
parent
commit
00238e84e8
1 changed files with 9 additions and 0 deletions
  1. 9 0
      code/TinyFormatter.h

+ 9 - 0
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 <typename TToken>
+	basic_formatter& operator, (TToken& s) {
+		underlying << s;
+		return *this;
+	}
+
+
 private:
 	mutable stringstream underlying;
 };