summaryrefslogtreecommitdiff
path: root/libpqpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-10-17 22:10:14 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-10-17 22:10:14 +0100
commitee5d516b02a0b84fb88574b1a2bd4716c6195036 (patch)
tree4ce366d0db6218950da9e6c12e8771c0dea669e4 /libpqpp
parentRestructure alias all list and add missing things (diff)
downloadlibdbpp-postgresql-ee5d516b02a0b84fb88574b1a2bd4716c6195036.tar.bz2
libdbpp-postgresql-ee5d516b02a0b84fb88574b1a2bd4716c6195036.tar.xz
libdbpp-postgresql-ee5d516b02a0b84fb88574b1a2bd4716c6195036.zip
Add override attributes
Diffstat (limited to 'libpqpp')
-rw-r--r--libpqpp/connection.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/libpqpp/connection.h b/libpqpp/connection.h
index bb291b1..1b2824d 100644
--- a/libpqpp/connection.h
+++ b/libpqpp/connection.h
@@ -10,22 +10,23 @@ namespace PQ {
Connection(const std::string & info);
~Connection();
- void finish() const;
- int beginTx() const;
- int commitTx() const;
- int rollbackTx() const;
- bool inTx() const;
- void ping() const;
+ void finish() const override;
+ int beginTx() const override;
+ int commitTx() const override;
+ int rollbackTx() const override;
+ bool inTx() const override;
+ void ping() const override;
void execute(const std::string & sql) const override;
- DB::BulkDeleteStyle bulkDeleteStyle() const;
- DB::BulkUpdateStyle bulkUpdateStyle() const;
+ DB::BulkDeleteStyle bulkDeleteStyle() const override;
+ DB::BulkUpdateStyle bulkUpdateStyle() const override;
- DB::SelectCommand * newSelectCommand(const std::string & sql) const;
- DB::ModifyCommand * newModifyCommand(const std::string & sql) const;
+ DB::SelectCommand * newSelectCommand(const std::string & sql) const override;
+ DB::ModifyCommand * newModifyCommand(const std::string & sql) const override;
- void beginBulkUpload(const char *, const char *) const;
- void endBulkUpload(const char *) const;
- size_t bulkUploadData(const char *, size_t) const;
+
+ void beginBulkUpload(const char *, const char *) const override;
+ void endBulkUpload(const char *) const override;
+ size_t bulkUploadData(const char *, size_t) const override;
PGresult * checkResult(PGresult * res, int expected, int alternative = -1) const;
void checkResultFree(PGresult * res, int expected, int alternative = -1) const;