Address warnings on Clang 3.9 caused by having a static data member in a class template.

This commit is contained in:
Jared Mulconry
2017-10-05 23:55:10 +11:00
parent cbca8f574e
commit 341222697a
7 changed files with 41 additions and 15 deletions

View File

@@ -83,8 +83,11 @@ struct free_it
};
namespace Assimp { // this has to be in here because LogFunctions is in ::Assimp
template<> const std::string LogFunctions<XGLImporter>::log_prefix = "XGL: ";
template<> const char* LogFunctions<XGLImporter>::Prefix()
{
static auto prefix = "XGL: ";
return prefix;
}
}
static const aiImporterDesc desc = {