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
commit5d5be8ae686c8b207fb9b54c79a4380893c9a2bf (patch)
tree39db236a438299ff872792bb4c2c6973d62a8a99
parentForce mock DB names to lower case (diff)
downloadlibdbpp-postgresql-5d5be8ae686c8b207fb9b54c79a4380893c9a2bf.tar.bz2
libdbpp-postgresql-5d5be8ae686c8b207fb9b54c79a4380893c9a2bf.tar.xz
libdbpp-postgresql-5d5be8ae686c8b207fb9b54c79a4380893c9a2bf.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;