summaryrefslogtreecommitdiff
path: root/libpqpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-16 12:43:35 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-16 12:43:35 +0000
commit283047d0db99da4579c54ac50bbc71ff358360d4 (patch)
treebc42ae510e3557b0b7a03f3ddc2976598d107aca /libpqpp
parentFix ustring to string_view conversion with multi-byte chars (diff)
downloadlibdbpp-postgresql-283047d0db99da4579c54ac50bbc71ff358360d4.tar.bz2
libdbpp-postgresql-283047d0db99da4579c54ac50bbc71ff358360d4.tar.xz
libdbpp-postgresql-283047d0db99da4579c54ac50bbc71ff358360d4.zip
Basic clang tidy fixes
Diffstat (limited to 'libpqpp')
-rw-r--r--libpqpp/pq-mock.cpp4
1 files changed, 2 insertions, 2 deletions
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<Connection>(openConnection());
+ auto c = std::static_pointer_cast<Connection>(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