From 5dd7989c6bc0b1aa4a995bca6e0264bdb5242c43 Mon Sep 17 00:00:00 2001 From: denchat <19730041+denchat@users.noreply.github.com> Date: Tue, 7 May 2019 22:18:44 +0700 Subject: [PATCH] Moving `test_count_digits` to test-impl-test.cc then count_digits<4>(internal::uintptr_t) shall not be exported --- 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 d1e2fb12..52caad57 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -749,7 +749,7 @@ inline int count_digits(uint64_t n) { #endif // Counts the number of digits in n. BITS = log2(radix). -template inline FMT_EXTERN_TEMPLATE_API int count_digits(UInt n) { +template inline int count_digits(UInt n) { int num_digits = 0; do { ++num_digits;