diff options
Diffstat (limited to 'libsqlitepp')
-rw-r--r-- | libsqlitepp/sqlite-command.h | 2 | ||||
-rw-r--r-- | libsqlitepp/sqlite-connection.h | 6 | ||||
-rw-r--r-- | libsqlitepp/sqlite-error.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/libsqlitepp/sqlite-command.h b/libsqlitepp/sqlite-command.h index 1fe9b6a..abf02ee 100644 --- a/libsqlitepp/sqlite-command.h +++ b/libsqlitepp/sqlite-command.h @@ -9,7 +9,7 @@ namespace SQLite { class Command : public virtual DB::Command { public: Command(const Connection *, const std::string & sql); - virtual ~Command() = 0; + virtual ~Command() override = 0; void bindParamI(unsigned int, int) override; void bindParamI(unsigned int, long int) override; 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; diff --git a/libsqlitepp/sqlite-error.h b/libsqlitepp/sqlite-error.h index 337cd1b..9735966 100644 --- a/libsqlitepp/sqlite-error.h +++ b/libsqlitepp/sqlite-error.h @@ -9,7 +9,7 @@ namespace SQLite { class Error : public AdHoc::Exception<DB::Error> { public: - Error(sqlite3 *); + explicit Error(sqlite3 *); std::string message() const noexcept override; |