From 283047d0db99da4579c54ac50bbc71ff358360d4 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 16 Feb 2019 12:43:35 +0000 Subject: Basic clang tidy fixes --- libpqpp/pq-mock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpqpp') diff --git a/libpqpp/pq-mock.cpp b/libpqpp/pq-mock.cpp index 20ce724..151f26d 100644 --- a/libpqpp/pq-mock.cpp +++ b/libpqpp/pq-mock.cpp @@ -29,7 +29,7 @@ AdHocFormatter(MockSetUnlogged, "ALTER TABLE %?.%? SET UNLOGGED"); void Mock::SetTablesToUnlogged() const { - auto c = std::static_pointer_cast(openConnection()); + auto c = std::static_pointer_cast(Mock::openConnection()); if (c->serverVersion() < 90500) return; auto s = c->select(R"SQL( SELECT n.nspname, c.relname @@ -60,7 +60,7 @@ ORDER BY 1, 2)SQL"); Mock::~Mock() { - DropDatabase(); + Mock::DropDatabase(); } void -- cgit v1.2.3