From 45c46ed4664ddad5bb37f5cece0359b4ab5da5b2 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 10 Dec 2020 19:21:09 +0000 Subject: Add override/explicit tags --- libsqlitepp/sqlite-connection.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libsqlitepp/sqlite-connection.h') diff --git a/libsqlitepp/sqlite-connection.h b/libsqlitepp/sqlite-connection.h index 0d77911..1be1514 100644 --- a/libsqlitepp/sqlite-connection.h +++ b/libsqlitepp/sqlite-connection.h @@ -8,13 +8,13 @@ namespace SQLite { class ConnectionError : public virtual Error, public virtual DB::ConnectionError { public: - ConnectionError(sqlite3 *); + explicit ConnectionError(sqlite3 *); }; class Connection : public DB::Connection { public: - Connection(const std::string & info); - ~Connection(); + explicit Connection(const std::string & info); + ~Connection() override; void beginTxInt() override; void commitTxInt() override; -- cgit v1.2.3