Remove FMT_FUNC, mark FMT_API to export

This commit is contained in:
denchat 2019-05-12 00:16:02 +07:00 committed by GitHub
parent 3b4928a8f4
commit e422dada0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -683,7 +683,7 @@ template <int GRISU_VERSION> struct grisu_shortest_handler {
};
template <typename Double, FMT_ENABLE_IF_T(sizeof(Double) == sizeof(uint64_t))>
FMT_FUNC bool grisu_format(Double value, buffer<char>& buf, int precision,
FMT_API bool grisu_format(Double value, buffer<char>& buf, int precision,
unsigned options, int& exp) {
FMT_ASSERT(value >= 0, "value is negative");
bool fixed = (options & grisu_options::fixed) != 0;