Browse Source

gcc compile fix

Ivan Savenko 14 years ago
parent
commit
734c95959e
1 changed files with 3 additions and 2 deletions
  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();
-};
+};