diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-10 18:50:15 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-10 18:50:15 +0000 |
commit | 3953d416537f44af979c36824fd9f29121c8c2c6 (patch) | |
tree | 8e0cdf0d9a2f59d0907f0574b92c87ff0d1d7b0f /libmysqlpp/my-connection.h | |
parent | Add check that upload ctx is non-null (diff) | |
download | libdbpp-mysql-3953d416537f44af979c36824fd9f29121c8c2c6.tar.bz2 libdbpp-mysql-3953d416537f44af979c36824fd9f29121c8c2c6.tar.xz libdbpp-mysql-3953d416537f44af979c36824fd9f29121c8c2c6.zip |
Add override/explicit tags
Diffstat (limited to 'libmysqlpp/my-connection.h')
-rw-r--r-- | libmysqlpp/my-connection.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmysqlpp/my-connection.h b/libmysqlpp/my-connection.h index 073acda..184dafe 100644 --- a/libmysqlpp/my-connection.h +++ b/libmysqlpp/my-connection.h @@ -9,15 +9,15 @@ namespace MySQL { class ConnectionError : public virtual Error, public virtual DB::ConnectionError { public: - ConnectionError(MYSQL *); + explicit ConnectionError(MYSQL *); }; class LoadContext; 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; |