diff options
Diffstat (limited to 'libpqpp/pq-connection.cpp')
-rw-r--r-- | libpqpp/pq-connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<PGconn, decltype(&PQfinish)>(conn, &PQfinish); throw ConnectionError(dc.get()); } - PQsetNoticeProcessor(conn, noNoticeProcessor, NULL); + PQsetNoticeProcessor(conn, noNoticeProcessor, nullptr); } PQ::Connection::~Connection() |