Kaynağa Gözat

# add missing template<> declarations that would screw up gcc

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@995 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg 14 yıl önce
ebeveyn
işleme
f3ff403a91
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      code/BlenderLoader.cpp
  2. 1 1
      code/IFCLoader.cpp

+ 1 - 1
code/BlenderLoader.cpp

@@ -67,7 +67,7 @@ using namespace Assimp;
 using namespace Assimp::Blender;
 using namespace Assimp::Formatter;
 
-const std::string LogFunctions<BlenderImporter>::log_prefix = "BLEND: ";
+template<> const std::string LogFunctions<BlenderImporter>::log_prefix = "BLEND: ";
 static const aiLoaderDesc blenderDesc = {
 	"Blender 3D Importer \nhttp://www.blender3d.org",
 	"Assimp Team",

+ 1 - 1
code/IFCLoader.cpp

@@ -59,7 +59,7 @@ using namespace Assimp;
 using namespace Assimp::Formatter;
 namespace EXPRESS = STEP::EXPRESS;
 
-const std::string LogFunctions<IFCImporter>::log_prefix = "IFC: ";
+template<> const std::string LogFunctions<IFCImporter>::log_prefix = "IFC: ";
 
 
 /* DO NOT REMOVE this comment block. The genentitylist.sh script