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 | 710133b747c45fd2f62982f734ea5b6233e99333 (patch) | |
tree | 91d36ce3c84fa8ed7432fe2ffa5dcef43c31c96d /libpqpp/pq-command.h | |
parent | Non-const insertId (diff) | |
download | libdbpp-postgresql-710133b747c45fd2f62982f734ea5b6233e99333.tar.bz2 libdbpp-postgresql-710133b747c45fd2f62982f734ea5b6233e99333.tar.xz libdbpp-postgresql-710133b747c45fd2f62982f734ea5b6233e99333.zip |
Add missing override attribute
Diffstat (limited to 'libpqpp/pq-command.h')
-rw-r--r-- | libpqpp/pq-command.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libpqpp/pq-command.h b/libpqpp/pq-command.h index 32faaa0..e0f1e61 100644 --- a/libpqpp/pq-command.h +++ b/libpqpp/pq-command.h @@ -12,24 +12,24 @@ namespace PQ { Command(const Connection *, const std::string & sql, unsigned int no); virtual ~Command() = 0; - void bindParamI(unsigned int, int); - void bindParamI(unsigned int, long int); - void bindParamI(unsigned int, long long int); - void bindParamI(unsigned int, unsigned int); - void bindParamI(unsigned int, long unsigned int); - void bindParamI(unsigned int, long long unsigned int); + void bindParamI(unsigned int, int) override; + void bindParamI(unsigned int, long int) override; + void bindParamI(unsigned int, long long int) override; + void bindParamI(unsigned int, unsigned int) override; + void bindParamI(unsigned int, long unsigned int) override; + void bindParamI(unsigned int, long long unsigned int) override; - void bindParamB(unsigned int, bool); + void bindParamB(unsigned int, bool) override; - void bindParamF(unsigned int, double); - void bindParamF(unsigned int, float); + void bindParamF(unsigned int, double) override; + void bindParamF(unsigned int, float) override; - void bindParamS(unsigned int, const Glib::ustring&); + void bindParamS(unsigned int, const Glib::ustring&) override; - void bindParamT(unsigned int, const boost::posix_time::time_duration &); - void bindParamT(unsigned int, const boost::posix_time::ptime &); + void bindParamT(unsigned int, const boost::posix_time::time_duration &) override; + void bindParamT(unsigned int, const boost::posix_time::ptime &) override; - void bindNull(unsigned int); + void bindNull(unsigned int) override; protected: static void prepareSql(std::string & psql, const std::string & sql); const std::string stmntName; |