summaryrefslogtreecommitdiff
path: root/libdbpp/unittests/testParse.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-16 14:21:28 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-16 14:21:28 +0000
commit463dd49304a47b835d1818d7489fe7ba373890ac (patch)
tree6375ec8634cebb237ade975eb802b4221f569afd /libdbpp/unittests/testParse.cpp
parentMore clang tidy fixes (diff)
downloadlibdbpp-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.cpp6
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);
}