From f86b8d2e23339e27d416145ad7b660d66267e151 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 9 Apr 2018 12:06:17 +0100 Subject: C++17 Updates code largely in-keeping with updates to be C++17 in line with libadhocutil and libdbpp. --- libpqpp/pq-connection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpqpp/pq-connection.h') diff --git a/libpqpp/pq-connection.h b/libpqpp/pq-connection.h index bb102df..0a7fd0a 100644 --- a/libpqpp/pq-connection.h +++ b/libpqpp/pq-connection.h @@ -29,8 +29,8 @@ namespace PQ { DB::BulkDeleteStyle bulkDeleteStyle() const override; DB::BulkUpdateStyle bulkUpdateStyle() const override; - DB::SelectCommand * newSelectCommand(const std::string & sql, const DB::CommandOptions *) override; - DB::ModifyCommand * newModifyCommand(const std::string & sql, const DB::CommandOptions *) 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; int64_t insertId() override; int serverVersion() const; -- cgit v1.2.3