From 1ca0cd42419656cf4a4b9e37c5f3cfb51ccafbb5 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 16 Feb 2019 14:20:14 +0000 Subject: Modernize clang tidy fixes --- libpqpp/pq-connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpqpp/pq-connection.cpp') diff --git a/libpqpp/pq-connection.cpp b/libpqpp/pq-connection.cpp index 4ebda84..f20dfb5 100644 --- a/libpqpp/pq-connection.cpp +++ b/libpqpp/pq-connection.cpp @@ -34,7 +34,7 @@ PQ::Connection::Connection(const std::string & info) : auto dc = std::unique_ptr(conn, &PQfinish); throw ConnectionError(dc.get()); } - PQsetNoticeProcessor(conn, noNoticeProcessor, NULL); + PQsetNoticeProcessor(conn, noNoticeProcessor, nullptr); } PQ::Connection::~Connection() -- cgit v1.2.3