summaryrefslogtreecommitdiff
path: root/libpqpp/pq-connection.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 04:28:57 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 06:00:07 +0000
commit220b78a7ae3b2e936aa1e6e360e102acfee7ba0f (patch)
treee47383c69e3957bd907725b1323dd3d03d0a33b1 /libpqpp/pq-connection.cpp
parentDefault (not supported) bulk upload implementation (diff)
downloadlibdbpp-postgresql-220b78a7ae3b2e936aa1e6e360e102acfee7ba0f.tar.bz2
libdbpp-postgresql-220b78a7ae3b2e936aa1e6e360e102acfee7ba0f.tar.xz
libdbpp-postgresql-220b78a7ae3b2e936aa1e6e360e102acfee7ba0f.zip
Non-const command getters
Diffstat (limited to 'libpqpp/pq-connection.cpp')
-rw-r--r--libpqpp/pq-connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpqpp/pq-connection.cpp b/libpqpp/pq-connection.cpp
index be57cc5..4219496 100644
--- a/libpqpp/pq-connection.cpp
+++ b/libpqpp/pq-connection.cpp
@@ -128,13 +128,13 @@ PQ::Connection::ping() const
DB::SelectCommand *
-PQ::Connection::newSelectCommand(const std::string & sql) const
+PQ::Connection::newSelectCommand(const std::string & sql)
{
return new SelectCommand(this, sql, pstmntNo++);
}
DB::ModifyCommand *
-PQ::Connection::newModifyCommand(const std::string & sql) const
+PQ::Connection::newModifyCommand(const std::string & sql)
{
return new ModifyCommand(this, sql, pstmntNo++);
}