From 47b2832dd8a54feaf1456a193ddd3708e04eeef9 Mon Sep 17 00:00:00 2001 From: Alexander Gessler Date: Mon, 8 Apr 2013 19:41:18 +0200 Subject: [PATCH] - XGL: fix non isocpp-compliant definition of LogFunctions::log_prefix outside the namespace where the class resides. --- code/XGLLoader.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/XGLLoader.cpp b/code/XGLLoader.cpp index 8e8424726..b00c9a5f2 100644 --- a/code/XGLLoader.cpp +++ b/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::log_prefix = "XGL: "; +} + static const aiImporterDesc desc = { "XGL Importer", "",