From d7ff2e0d651d6b0bc24cf2b173613d6386576bc4 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 17 Feb 2019 16:16:11 +0000 Subject: Enable hicpp checks and fix accordingly --- libpqpp/pq-mock.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libpqpp/pq-mock.cpp') diff --git a/libpqpp/pq-mock.cpp b/libpqpp/pq-mock.cpp index 151f26d..414e02b 100644 --- a/libpqpp/pq-mock.cpp +++ b/libpqpp/pq-mock.cpp @@ -30,7 +30,9 @@ void Mock::SetTablesToUnlogged() const { auto c = std::static_pointer_cast(Mock::openConnection()); - if (c->serverVersion() < 90500) return; + if (c->serverVersion() < 90500) { + return; + } auto s = c->select(R"SQL( SELECT n.nspname, c.relname FROM pg_class c, pg_namespace n -- cgit v1.2.3