From 6d0343fe5a7c39b254a592d699fb31129b724cd8 Mon Sep 17 00:00:00 2001 From: denchat <19730041+denchat@users.noreply.github.com> Date: Sat, 11 May 2019 23:42:11 +0700 Subject: [PATCH] bool grisu_format is not supposed to be imported/exported when sizeof(Double) == sizeof(uint64_t) --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 0c462d13..212f5597 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1122,7 +1122,7 @@ enum { // Formats value using the Grisu algorithm: // https://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/printf.pdf template -FMT_API bool grisu_format(Double, buffer&, int, unsigned, int&); +bool grisu_format(Double, buffer&, int, unsigned, int&); template inline bool grisu_format(Double, buffer&, int, unsigned, int&) { return false;