summaryrefslogtreecommitdiff
path: root/lib/output
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-30 18:05:55 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-30 18:05:55 +0100
commit593e9817534a7d884164597005578da2223d089b (patch)
treed8677ed4e7cef0e7a1ef75958cfea64f4625805f /lib/output
parentAdd -Wpedantic (diff)
downloadmygrate-593e9817534a7d884164597005578da2223d089b.tar.bz2
mygrate-593e9817534a7d884164597005578da2223d089b.tar.xz
mygrate-593e9817534a7d884164597005578da2223d089b.zip
Fix up all remaining warnings
Diffstat (limited to 'lib/output')
-rw-r--r--lib/output/pq/writePqCopyStrm.h2
1 files changed, 2 insertions, 0 deletions
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<decltype(v)>::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<decltype(v)>::fmt, v);
#pragma GCC diagnostic pop
}