From 166b79dd088741c3ebd4504027b73d6765bafdb9 Mon Sep 17 00:00:00 2001 From: denchat <19730041+denchat@users.noreply.github.com> Date: Sat, 11 May 2019 23:48:15 +0700 Subject: [PATCH] grisu_format is not supposed to be imported/exported When sizeof(Double) == sizeof(uint64_t) --- include/fmt/format-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index e163f333..d8956822 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -683,7 +683,7 @@ template struct grisu_shortest_handler { }; template -FMT_FUNC FMT_API bool grisu_format(Double value, buffer& buf, int precision, +FMT_FUNC bool grisu_format(Double value, buffer& buf, int precision, unsigned options, int& exp) { FMT_ASSERT(value >= 0, "value is negative"); bool fixed = (options & grisu_options::fixed) != 0;