Reworked evaluation to use internal type instead of boost::any
This commit is contained in:
@@ -11,13 +11,14 @@
|
||||
class Script;
|
||||
class Evaluator;
|
||||
#include "Evaluator/Evaluator.hpp"
|
||||
#include "Evaluator/EvalValues/EvalValue.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
class Script {
|
||||
friend class Evaluator;
|
||||
|
||||
boost::any* _lastValue;
|
||||
EvalValue* _lastValue;
|
||||
|
||||
Evaluator* _evaluator;
|
||||
|
||||
@@ -33,7 +34,7 @@ public:
|
||||
|
||||
void Evaluate();
|
||||
|
||||
boost::any* GetLastValue(){
|
||||
EvalValue* GetLastValue(){
|
||||
return _lastValue;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user