summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libodbcpp/odbc-column.h2
-rw-r--r--libodbcpp/odbc-connection.h6
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;