diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-16 14:21:28 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-16 14:21:28 +0000 |
commit | 463dd49304a47b835d1818d7489fe7ba373890ac (patch) | |
tree | 6375ec8634cebb237ade975eb802b4221f569afd /libdbpp/unittests/testParse.cpp | |
parent | More clang tidy fixes (diff) | |
download | libdbpp-463dd49304a47b835d1818d7489fe7ba373890ac.tar.bz2 libdbpp-463dd49304a47b835d1818d7489fe7ba373890ac.tar.xz libdbpp-463dd49304a47b835d1818d7489fe7ba373890ac.zip |
Modernize clang tidy fixes
Diffstat (limited to 'libdbpp/unittests/testParse.cpp')
-rw-r--r-- | libdbpp/unittests/testParse.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdbpp/unittests/testParse.cpp b/libdbpp/unittests/testParse.cpp index dcd11d6..d63925b 100644 --- a/libdbpp/unittests/testParse.cpp +++ b/libdbpp/unittests/testParse.cpp @@ -9,7 +9,7 @@ #include <error.h> #include <sqlParse.h> -typedef std::vector<std::string> SQLs; +using SQLs = std::vector<std::string>; BOOST_TEST_SPECIALIZED_COLLECTION_COMPARE(SQLs); class RecordingParser : std::fstream, public DB::SqlParse { @@ -20,12 +20,12 @@ class RecordingParser : std::fstream, public DB::SqlParse { { } - void Comment(const std::string & c) const + void Comment(const std::string & c) const override { comments.push_back(c); } - void Statement(const std::string & s) const + void Statement(const std::string & s) const override { executed.push_back(s); } |