浏览代码

gcc compile fix

Ivan Savenko 14 年之前
父节点
当前提交
734c95959e
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      lib/ERMInterpreter.h

+ 3 - 2
lib/ERMInterpreter.h

@@ -2,6 +2,7 @@
 #include "../global.h"
 #include "ERMParser.h"
 #include <boost/smart_ptr.hpp>
+#include <boost/shared_ptr.hpp>
 
 /*
  * ERMInterpreter.h, part of VCMI engine
@@ -271,7 +272,7 @@ namespace VERMInterpreter
 class ERMInterpreter
 {
 	std::vector<VERMInterpreter::FileInfo*> files;
-	std::vector< std::shared_ptr<VERMInterpreter::FileInfo> > fileInfos;
+	std::vector< boost::shared_ptr<VERMInterpreter::FileInfo> > fileInfos;
 	std::map<VERMInterpreter::LinePointer, ERM::TLine> scripts;
 	std::map<VERMInterpreter::LexicalPtr, VERMInterpreter::Environment> lexicalEnvs;
 	ERM::TLine retrieveLine(VERMInterpreter::LinePointer linePtr) const;
@@ -294,4 +295,4 @@ public:
 	void scanScripts(); //scans for functions, triggers etc.
 
 	ERMInterpreter();
-};
+};