From 701b415c196573afc5cfb603618515432bfe78f8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 10 Dec 2020 19:09:55 +0000 Subject: Add override/explicit tags --- libodbcpp/odbc-column.h | 2 +- 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; -- cgit v1.2.3