summaryrefslogtreecommitdiff
path: root/libpqpp/pq-mock.h
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 12:06:17 +0100
commitf86b8d2e23339e27d416145ad7b660d66267e151 (patch)
tree682ee06157befe34571bd1a8acdfab8e4dc27a9c /libpqpp/pq-mock.h
parentUpdated compile flags (diff)
downloadlibdbpp-postgresql-f86b8d2e23339e27d416145ad7b660d66267e151.tar.bz2
libdbpp-postgresql-f86b8d2e23339e27d416145ad7b660d66267e151.tar.xz
libdbpp-postgresql-f86b8d2e23339e27d416145ad7b660d66267e151.zip
C++17
Updates code largely in-keeping with updates to be C++17 in line with libadhocutil and libdbpp.
Diffstat (limited to 'libpqpp/pq-mock.h')
-rw-r--r--libpqpp/pq-mock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-mock.h b/libpqpp/pq-mock.h
index f712ef6..8ab2fe1 100644
--- a/libpqpp/pq-mock.h
+++ b/libpqpp/pq-mock.h
@@ -12,7 +12,7 @@ namespace PQ {
Mock(const std::string & master, const std::string & name, const std::vector<boost::filesystem::path> & ss);
~Mock();
- PQ::Connection * openConnection() const override;
+ DB::ConnectionPtr openConnection() const override;
protected:
void DropDatabase() const override;