Procházet zdrojové kódy

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

Alexander Gessler před 12 roky
rodič
revize
47b2832dd8
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  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",
 	"",