diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 05:01:53 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 06:00:07 +0000 |
commit | 753922f1b924ca3431abfe939fc07d7210698c4d (patch) | |
tree | 5e49913ba04accad802e1c8bdbe32bc6227c05ce /libodbcpp/odbc-command.h | |
parent | Non-const command getters (diff) | |
download | libdbpp-odbc-753922f1b924ca3431abfe939fc07d7210698c4d.tar.bz2 libdbpp-odbc-753922f1b924ca3431abfe939fc07d7210698c4d.tar.xz libdbpp-odbc-753922f1b924ca3431abfe939fc07d7210698c4d.zip |
Add missing override attribute
Diffstat (limited to 'libodbcpp/odbc-command.h')
-rw-r--r-- | libodbcpp/odbc-command.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/libodbcpp/odbc-command.h b/libodbcpp/odbc-command.h index d7173e3..ab3f65b 100644 --- a/libodbcpp/odbc-command.h +++ b/libodbcpp/odbc-command.h @@ -14,30 +14,31 @@ namespace ODBC { Command(const Connection &, const std::string & sql); virtual ~Command() = 0; - void bindParamI(unsigned int i, int val); - void bindParamI(unsigned int i, long val); - void bindParamI(unsigned int i, long long val); - void bindParamI(unsigned int i, unsigned int val); - void bindParamI(unsigned int i, unsigned long int val); - void bindParamI(unsigned int i, unsigned long long int val); + void bindParamI(unsigned int i, int val) override; + void bindParamI(unsigned int i, long val) override; + void bindParamI(unsigned int i, long long val) override; + void bindParamI(unsigned int i, unsigned int val) override; + void bindParamI(unsigned int i, unsigned long int val) override; + void bindParamI(unsigned int i, unsigned long long int val) override; - void bindParamB(unsigned int i, bool val); + void bindParamB(unsigned int i, bool val) override; - void bindParamF(unsigned int i, double val); - void bindParamF(unsigned int i, float val); + void bindParamF(unsigned int i, double val) override; + void bindParamF(unsigned int i, float val) override; - void bindParamS(unsigned int i, const Glib::ustring &); + void bindParamS(unsigned int i, const Glib::ustring &) override; - void bindParamT(unsigned int i, const boost::posix_time::time_duration &); - void bindParamT(unsigned int i, const boost::posix_time::ptime &); + void bindParamT(unsigned int i, const boost::posix_time::time_duration &) override; + void bindParamT(unsigned int i, const boost::posix_time::ptime &) override; - void bindNull(unsigned int i); + void bindNull(unsigned int i) override; protected: friend class Param; friend class Column; SQLHSTMT hStmt; const Connection& connection; + private: Params params; |