浏览代码

fixed DLL_LINKAGE for << operators

Henning Koehler 8 年之前
父节点
当前提交
cd35ece10c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/CSkillHandler.h

+ 2 - 2
lib/CSkillHandler.h

@@ -56,8 +56,8 @@ public:
 	}
 
 	friend class CSkillHandler;
-	friend std::ostream & operator<<(std::ostream & out, const CSkill & skill);
-	friend std::ostream & operator<<(std::ostream & out, const CSkill::LevelInfo & info);
+	friend DLL_LINKAGE std::ostream & operator<<(std::ostream & out, const CSkill & skill);
+	friend DLL_LINKAGE std::ostream & operator<<(std::ostream & out, const CSkill::LevelInfo & info);
 };
 
 class DLL_LINKAGE CSkillHandler: public CHandlerBase<SecondarySkill, CSkill>