浏览代码

# 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 年之前
父节点
当前提交
f3ff403a91
共有 2 个文件被更改,包括 2 次插入2 次删除
  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::Blender;
 using namespace Assimp::Formatter;
 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 = {
 static const aiLoaderDesc blenderDesc = {
 	"Blender 3D Importer \nhttp://www.blender3d.org",
 	"Blender 3D Importer \nhttp://www.blender3d.org",
 	"Assimp Team",
 	"Assimp Team",

+ 1 - 1
code/IFCLoader.cpp

@@ -59,7 +59,7 @@ using namespace Assimp;
 using namespace Assimp::Formatter;
 using namespace Assimp::Formatter;
 namespace EXPRESS = STEP::EXPRESS;
 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
 /* DO NOT REMOVE this comment block. The genentitylist.sh script