From 84b60b20ee4739458275ba9c0e67656d8c569248 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 10 Dec 2020 19:19:38 +0000 Subject: Move suppression comment Side effect of clang-format? --- libpqpp/pq-connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpqpp') diff --git a/libpqpp/pq-connection.cpp b/libpqpp/pq-connection.cpp index af74fac..d2c02b2 100644 --- a/libpqpp/pq-connection.cpp +++ b/libpqpp/pq-connection.cpp @@ -79,8 +79,8 @@ PQ::Connection::bulkUpdateStyle() const void PQ::Connection::ping() const { - // NOLINTNEXTLINE(hicpp-signed-bitwise) struct pollfd fd { + // NOLINTNEXTLINE(hicpp-signed-bitwise) PQsocket(conn), POLLRDHUP | POLLERR | POLLHUP | POLLNVAL, 0 }; if (PQstatus(conn) != CONNECTION_OK || poll(&fd, 1, 0)) { -- cgit v1.2.3