summaryrefslogtreecommitdiff
path: root/libpqpp/pq-prepared.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-prepared.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-prepared.cpp')
-rw-r--r--libpqpp/pq-prepared.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-prepared.cpp b/libpqpp/pq-prepared.cpp
index 63a1cb5..6c447f8 100644
--- a/libpqpp/pq-prepared.cpp
+++ b/libpqpp/pq-prepared.cpp
@@ -1,7 +1,7 @@
#include "pq-prepared.h"
#include "pq-connection.h"
-PQ::PreparedStatement::PreparedStatement(Connection * c, const std::string & sql, const DB::CommandOptions * opts) :
+PQ::PreparedStatement::PreparedStatement(Connection * c, const std::string & sql, const DB::CommandOptionsCPtr & opts) :
DB::Command(sql),
Command(c, sql, opts),
pstmt(nullptr)