summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-connection.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-10 19:21:09 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-10 19:21:09 +0000
commit45c46ed4664ddad5bb37f5cece0359b4ab5da5b2 (patch)
treec5dcc360ec74d66af3332dabc06d14a8aaffe49e /libsqlitepp/sqlite-connection.h
parentUse local test library on request (diff)
downloadlibdbpp-sqlite-45c46ed4664ddad5bb37f5cece0359b4ab5da5b2.tar.bz2
libdbpp-sqlite-45c46ed4664ddad5bb37f5cece0359b4ab5da5b2.tar.xz
libdbpp-sqlite-45c46ed4664ddad5bb37f5cece0359b4ab5da5b2.zip
Add override/explicit tags
Diffstat (limited to 'libsqlitepp/sqlite-connection.h')
-rw-r--r--libsqlitepp/sqlite-connection.h6
1 files changed, 3 insertions, 3 deletions
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;