1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

gcc compile fix

This commit is contained in:
Ivan Savenko 2011-04-10 22:06:05 +00:00
parent 033c067144
commit 734c95959e

View File

@ -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();
};
};