diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-09 12:06:17 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-09 14:00:32 +0100 |
commit | fbad5dcdf8f17d1a3f3ff954f48b55d605d0a50c (patch) | |
tree | 38683378917dcea930f220da73c70392bd2363c6 /libpqpp/pq-connection.h | |
parent | C++17 (diff) | |
download | libdbpp-postgresql-fbad5dcdf8f17d1a3f3ff954f48b55d605d0a50c.tar.bz2 libdbpp-postgresql-fbad5dcdf8f17d1a3f3ff954f48b55d605d0a50c.tar.xz libdbpp-postgresql-fbad5dcdf8f17d1a3f3ff954f48b55d605d0a50c.zip |
Updates to include C++17 changes for command options.
Diffstat (limited to 'libpqpp/pq-connection.h')
-rw-r--r-- | libpqpp/pq-connection.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpqpp/pq-connection.h b/libpqpp/pq-connection.h index 0a7fd0a..597c543 100644 --- a/libpqpp/pq-connection.h +++ b/libpqpp/pq-connection.h @@ -25,12 +25,12 @@ namespace PQ { void commitTxInt() override; void rollbackTxInt() override; void ping() const override; - void execute(const std::string & sql, const DB::CommandOptions * = nullptr) override; + void execute(const std::string & sql, const DB::CommandOptionsCPtr & = nullptr) override; DB::BulkDeleteStyle bulkDeleteStyle() const override; DB::BulkUpdateStyle bulkUpdateStyle() const override; - DB::SelectCommandPtr select(const std::string & sql, const DB::CommandOptions * = nullptr) override; - DB::ModifyCommandPtr modify(const std::string & sql, const DB::CommandOptions * = nullptr) override; + DB::SelectCommandPtr select(const std::string & sql, const DB::CommandOptionsCPtr & = nullptr) override; + DB::ModifyCommandPtr modify(const std::string & sql, const DB::CommandOptionsCPtr & = nullptr) override; int64_t insertId() override; int serverVersion() const; |