summaryrefslogtreecommitdiff
path: root/libpqpp/pq-command.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 05:01:53 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 06:00:07 +0000
commit45577e334faf2a70f9694ceefb2c6019132c843c (patch)
treed6b81a5a552d6adcb569fef4be563562f9776d29 /libpqpp/pq-command.h
parentNon-const insertId (diff)
downloadlibdbpp-postgresql-45577e334faf2a70f9694ceefb2c6019132c843c.tar.bz2
libdbpp-postgresql-45577e334faf2a70f9694ceefb2c6019132c843c.tar.xz
libdbpp-postgresql-45577e334faf2a70f9694ceefb2c6019132c843c.zip
Add missing override attribute
Diffstat (limited to 'libpqpp/pq-command.h')
-rw-r--r--libpqpp/pq-command.h26
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;