summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-connection.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-10 18:50:15 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-10 18:50:15 +0000
commit3953d416537f44af979c36824fd9f29121c8c2c6 (patch)
tree8e0cdf0d9a2f59d0907f0574b92c87ff0d1d7b0f /libmysqlpp/my-connection.h
parentAdd check that upload ctx is non-null (diff)
downloadlibdbpp-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.h6
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;