diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-16 12:43:35 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-16 12:43:35 +0000 |
commit | 283047d0db99da4579c54ac50bbc71ff358360d4 (patch) | |
tree | bc42ae510e3557b0b7a03f3ddc2976598d107aca /libpqpp | |
parent | Fix ustring to string_view conversion with multi-byte chars (diff) | |
download | libdbpp-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.cpp | 4 |
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 |