diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-10 19:09:55 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-10 19:09:55 +0000 |
commit | 701b415c196573afc5cfb603618515432bfe78f8 (patch) | |
tree | 192a2017f4bedba60dac8df3c94eec57b8e61591 /libodbcpp | |
parent | Replace recursive fetch with a looping one (diff) | |
download | libdbpp-odbc-701b415c196573afc5cfb603618515432bfe78f8.tar.bz2 libdbpp-odbc-701b415c196573afc5cfb603618515432bfe78f8.tar.xz libdbpp-odbc-701b415c196573afc5cfb603618515432bfe78f8.zip |
Add override/explicit tags
Diffstat (limited to 'libodbcpp')
-rw-r--r-- | libodbcpp/odbc-column.h | 2 | ||||
-rw-r--r-- | libodbcpp/odbc-connection.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libodbcpp/odbc-column.h b/libodbcpp/odbc-column.h index 4f3c697..36aa51f 100644 --- a/libodbcpp/odbc-column.h +++ b/libodbcpp/odbc-column.h @@ -13,7 +13,7 @@ namespace ODBC { class Column : public virtual Bind, public virtual DB::Column { public: Column(SelectCommand *, const Glib::ustring & s, unsigned int i); - virtual ~Column() = default; + virtual ~Column() override = default; void bind(); virtual void * rwDataAddress() = 0; virtual bool resize(); diff --git a/libodbcpp/odbc-connection.h b/libodbcpp/odbc-connection.h index a7853e4..5031410 100644 --- a/libodbcpp/odbc-connection.h +++ b/libodbcpp/odbc-connection.h @@ -15,9 +15,9 @@ namespace ODBC { class Connection : public DB::Connection { public: - Connection(const DSN & d); - Connection(const std::string & str); - ~Connection(); + explicit Connection(const DSN & d); + explicit Connection(const std::string & str); + ~Connection() override; SQLHENV env; SQLHDBC conn; |