summaryrefslogtreecommitdiff
path: root/libpqpp/pq-cursorselectcommand.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-09 12:06:17 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-09 14:00:32 +0100
commitfbad5dcdf8f17d1a3f3ff954f48b55d605d0a50c (patch)
tree38683378917dcea930f220da73c70392bd2363c6 /libpqpp/pq-cursorselectcommand.cpp
parentC++17 (diff)
downloadlibdbpp-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-cursorselectcommand.cpp')
-rw-r--r--libpqpp/pq-cursorselectcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-cursorselectcommand.cpp b/libpqpp/pq-cursorselectcommand.cpp
index 53d951a..02c9fce 100644
--- a/libpqpp/pq-cursorselectcommand.cpp
+++ b/libpqpp/pq-cursorselectcommand.cpp
@@ -7,7 +7,7 @@ AdHocFormatter(PQCursorSelectDeclare, "DECLARE %? NO SCROLL CURSOR WITH HOLD FOR
AdHocFormatter(PQCursorSelectFetch, "FETCH %? IN %?");
AdHocFormatter(PQCursorSelectClose, "CLOSE %?");
-PQ::CursorSelectCommand::CursorSelectCommand(Connection * conn, const std::string & sql, const PQ::CommandOptions * pqco, const DB::CommandOptions * opts) :
+PQ::CursorSelectCommand::CursorSelectCommand(Connection * conn, const std::string & sql, const PQ::CommandOptionsCPtr & pqco, const DB::CommandOptionsCPtr & opts) :
DB::Command(sql),
PQ::SelectBase(sql, pqco),
PQ::Command(conn, sql, opts),