From 593e9817534a7d884164597005578da2223d089b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 30 Aug 2021 18:05:55 +0100 Subject: Fix up all remaining warnings --- lib/output/pq/writePqCopyStrm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/output/pq/writePqCopyStrm.h b/lib/output/pq/writePqCopyStrm.h index a3ceb88..a679e6c 100644 --- a/lib/output/pq/writePqCopyStrm.h +++ b/lib/output/pq/writePqCopyStrm.h @@ -16,6 +16,7 @@ namespace MyGrate::Output::Pq { void operator()(std::integral auto v) const { + // NOLINTNEXTLINE(clang-diagnostic-format-nonliteral) fprintf(out, printer::fmt, v); } void @@ -23,6 +24,7 @@ namespace MyGrate::Output::Pq { { #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdouble-promotion" + // NOLINTNEXTLINE(clang-diagnostic-format-nonliteral) fprintf(out, printer::fmt, v); #pragma GCC diagnostic pop } -- cgit v1.2.3