浏览代码

- XGL: fix non isocpp-compliant definition of LogFunctions::log_prefix outside the namespace where the class resides.

Alexander Gessler 12 年之前
父节点
当前提交
47b2832dd8
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      code/XGLLoader.cpp

+ 3 - 0
code/XGLLoader.cpp

@@ -77,8 +77,11 @@ struct free_it
 	void* free;
 };
 
+namespace Assimp { // this has to be in here because LogFunctions is in ::Assimp
 template<> const std::string LogFunctions<XGLImporter>::log_prefix = "XGL: ";
 
+}
+
 static const aiImporterDesc desc = {
 	"XGL Importer",
 	"",