diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-11-21 23:16:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 23:16:08 +0800 |
commit | c9ee30294c3db078a11588627acbbd73f87d83b7 (patch) | |
tree | 13a8971989ca9c7482fd9264663cd6f339a25889 /test | |
parent | 8e98885c531853e51673a350008305065ef89efb (diff) | |
parent | ea8b7d803ebd151401be7479f48afb0ad19f5f74 (diff) | |
download | dexon-solidity-c9ee30294c3db078a11588627acbbd73f87d83b7.tar.gz dexon-solidity-c9ee30294c3db078a11588627acbbd73f87d83b7.tar.zst dexon-solidity-c9ee30294c3db078a11588627acbbd73f87d83b7.zip |
Merge pull request #5444 from Mordax/issue-5168-rmvirtual
Removing redundant virtual from override function declaration
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/ASTJSONTest.h | 6 | ||||
-rw-r--r-- | test/libsolidity/SyntaxTest.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/libsolidity/ASTJSONTest.h b/test/libsolidity/ASTJSONTest.h index 6f24bb60..9760ef66 100644 --- a/test/libsolidity/ASTJSONTest.h +++ b/test/libsolidity/ASTJSONTest.h @@ -39,10 +39,10 @@ public: { return std::unique_ptr<TestCase>(new ASTJSONTest(_filename)); } ASTJSONTest(std::string const& _filename); - virtual bool run(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) override; + bool run(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) override; - virtual void printSource(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) const override; - virtual void printUpdatedExpectations(std::ostream& _stream, std::string const& _linePrefix) const override; + void printSource(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) const override; + void printUpdatedExpectations(std::ostream& _stream, std::string const& _linePrefix) const override; private: std::vector<std::pair<std::string, std::string>> m_sources; std::string m_expectation; diff --git a/test/libsolidity/SyntaxTest.h b/test/libsolidity/SyntaxTest.h index e9e36aa6..654ce4a0 100644 --- a/test/libsolidity/SyntaxTest.h +++ b/test/libsolidity/SyntaxTest.h @@ -57,10 +57,10 @@ public: { return std::unique_ptr<TestCase>(new SyntaxTest(_filename)); } SyntaxTest(std::string const& _filename); - virtual bool run(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) override; + bool run(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) override; - virtual void printSource(std::ostream &_stream, std::string const &_linePrefix = "", bool const _formatted = false) const override; - virtual void printUpdatedExpectations(std::ostream& _stream, std::string const& _linePrefix) const override + void printSource(std::ostream &_stream, std::string const &_linePrefix = "", bool const _formatted = false) const override; + void printUpdatedExpectations(std::ostream& _stream, std::string const& _linePrefix) const override { if (!m_errorList.empty()) printErrorList(_stream, m_errorList, _linePrefix, false); |