remove accessors in ActionAST added for external serialization

This commit is contained in:
Arne Morten Kvarving
2020-03-17 14:02:21 +01:00
parent 9cd1403b33
commit f8cb4a80ff
2 changed files with 0 additions and 7 deletions

View File

@@ -47,8 +47,6 @@ public:
AST(const std::shared_ptr<ASTNode>& cond);
Result eval(const Context& context) const;
std::shared_ptr<ASTNode> getCondition() const;
bool operator==(const AST& data) const;
template<class Serializer>

View File

@@ -51,11 +51,6 @@ Action::Result AST::eval(const Action::Context& context) const {
}
std::shared_ptr<ASTNode> AST::getCondition() const {
return condition;
}
bool AST::operator==(const AST& data) const {
if ((condition && !data.condition) ||
(!condition && data.condition))