summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/output/pq/writePqCopyStrm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/output/pq/writePqCopyStrm.h b/lib/output/pq/writePqCopyStrm.h
index e8a4fd3..a3ceb88 100644
--- a/lib/output/pq/writePqCopyStrm.h
+++ b/lib/output/pq/writePqCopyStrm.h
@@ -21,7 +21,10 @@ namespace MyGrate::Output::Pq {
void
operator()(std::floating_point auto v) const
{
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdouble-promotion"
fprintf(out, printer<decltype(v)>::fmt, v);
+#pragma GCC diagnostic pop
}
void operator()(timespec) const;
void operator()(Date v) const;