summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-10-17 14:56:44 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-10-17 14:56:44 +0100
commitdff85964c10145fdd86d407925711fb832507cc6 (patch)
tree2d20ca9e171b873cdc0edf387b7324af2a93132b
parentTidy up IWYU (diff)
downloadlibdbpp-postgresql-dff85964c10145fdd86d407925711fb832507cc6.tar.bz2
libdbpp-postgresql-dff85964c10145fdd86d407925711fb832507cc6.tar.xz
libdbpp-postgresql-dff85964c10145fdd86d407925711fb832507cc6.zip
Fix up warnings from latest clang-tidy
-rw-r--r--libpqpp/pq-connection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpqpp/pq-connection.cpp b/libpqpp/pq-connection.cpp
index 049ca8c..a2ebe35 100644
--- a/libpqpp/pq-connection.cpp
+++ b/libpqpp/pq-connection.cpp
@@ -32,6 +32,7 @@ noNoticeProcessor(void *, const char *)
{
}
+// NOLINTNEXTLINE(bugprone-throw-keyword-missing)
PQ::ConnectionError::ConnectionError(const PGconn * conn) : PQ::Error(conn) { }
PQ::Connection::Connection(const std::string & info) : conn(PQconnectdb(info.c_str()))