remove accessors in UDQDefine added for external serialization

This commit is contained in:
Arne Morten Kvarving
2020-03-13 08:20:12 +01:00
parent 76da13ba12
commit 6c19c2e8bb
2 changed files with 0 additions and 5 deletions

View File

@@ -67,7 +67,6 @@ public:
const std::string& input_string() const;
UDQVarType var_type() const;
std::set<UDQTokenType> func_tokens() const;
std::shared_ptr<UDQASTNode> getAst() const;
bool operator==(const UDQDefine& data) const;

View File

@@ -233,10 +233,6 @@ std::set<UDQTokenType> UDQDefine::func_tokens() const {
return this->ast->func_tokens();
}
std::shared_ptr<UDQASTNode> UDQDefine::getAst() const {
return this->ast;
}
bool UDQDefine::operator==(const UDQDefine& data) const {
if ((ast && !data.ast) || (!ast && data.ast))
return false;