Fix DLL visibility of count_digits<4>(internal::uintptr_t) definition in format-inl.h
In FMT_SHARED mode, format-test.exe wants to DLL import `count_digits<4>(internal::uintptr_t)` explicit full specialization definition in format-inl.h
This commit is contained in:
parent
ca7c1f89dc
commit
4bf134428d
@ -749,7 +749,7 @@ inline int count_digits(uint64_t n) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Counts the number of digits in n. BITS = log2(radix).
|
// Counts the number of digits in n. BITS = log2(radix).
|
||||||
template <unsigned BITS, typename UInt> inline int count_digits(UInt n) {
|
template <unsigned BITS, typename UInt> inline FMT_EXTERN_TEMPLATE_API int count_digits(UInt n) {
|
||||||
int num_digits = 0;
|
int num_digits = 0;
|
||||||
do {
|
do {
|
||||||
++num_digits;
|
++num_digits;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user