summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-01-03 14:39:19 +0000
committerDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-01-03 14:39:19 +0000
commit8938c600055b6399db59a254552b2b71926c42d8 (patch)
tree3de4ed81858bcdd7e84ea0f53ecc79adfc08dd38
parentForce mock DB names to lower case (diff)
downloadlibdbpp-postgresql-8938c600055b6399db59a254552b2b71926c42d8.tar.bz2
libdbpp-postgresql-8938c600055b6399db59a254552b2b71926c42d8.tar.xz
libdbpp-postgresql-8938c600055b6399db59a254552b2b71926c42d8.zip
Add missing default value in execute override
-rw-r--r--libpqpp/pq-connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-connection.h b/libpqpp/pq-connection.h
index 9a2cf6d..da20277 100644
--- a/libpqpp/pq-connection.h
+++ b/libpqpp/pq-connection.h
@@ -25,7 +25,7 @@ namespace PQ {
void commitTxInt() override;
void rollbackTxInt() override;
void ping() const override;
- void execute(const std::string & sql, const DB::CommandOptions *) override;
+ void execute(const std::string & sql, const DB::CommandOptions * = nullptr) override;
DB::BulkDeleteStyle bulkDeleteStyle() const override;
DB::BulkUpdateStyle bulkUpdateStyle() const override;