aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/ASTVisitor.h
diff options
context:
space:
mode:
authormordax <maya@mordax.io>2018-11-16 09:09:04 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-11-21 22:37:32 +0800
commitea8b7d803ebd151401be7479f48afb0ad19f5f74 (patch)
treebe363297661531057296c468c15c5003510540d5 /libsolidity/ast/ASTVisitor.h
parentd3f66ca0fab130e801b012bd192e1e8e97fb3761 (diff)
downloaddexon-solidity-ea8b7d803ebd151401be7479f48afb0ad19f5f74.tar.gz
dexon-solidity-ea8b7d803ebd151401be7479f48afb0ad19f5f74.tar.zst
dexon-solidity-ea8b7d803ebd151401be7479f48afb0ad19f5f74.zip
Removing redundant virtual from override function declaration
Remove trailing whitespace Remove changelog change
Diffstat (limited to 'libsolidity/ast/ASTVisitor.h')
-rw-r--r--libsolidity/ast/ASTVisitor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/ast/ASTVisitor.h b/libsolidity/ast/ASTVisitor.h
index 6c0ce6f8..1a761032 100644
--- a/libsolidity/ast/ASTVisitor.h
+++ b/libsolidity/ast/ASTVisitor.h
@@ -262,8 +262,8 @@ public:
): m_onVisit(_onVisit), m_onEndVisit(_onEndVisit) {}
protected:
- virtual bool visitNode(ASTNode const& _n) override { return m_onVisit ? m_onVisit(_n) : true; }
- virtual void endVisitNode(ASTNode const& _n) override { m_onEndVisit(_n); }
+ bool visitNode(ASTNode const& _n) override { return m_onVisit ? m_onVisit(_n) : true; }
+ void endVisitNode(ASTNode const& _n) override { m_onEndVisit(_n); }
private:
std::function<bool(ASTNode const&)> m_onVisit;