Fix a warning (#1712)

This commit is contained in:
Victor Zverovich 2020-06-05 08:23:47 -07:00
parent 95c6ac0cc8
commit 795b47a7b5

View File

@ -759,7 +759,9 @@ template <typename T = void> struct FMT_EXTERN_TEMPLATE_API basic_data {
static const char right_padding_shifts[5]; static const char right_padding_shifts[5];
}; };
#ifndef FMT_EXPORT
FMT_EXTERN template struct basic_data<void>; FMT_EXTERN template struct basic_data<void>;
#endif
// This is a struct rather than an alias to avoid shadowing warnings in gcc. // This is a struct rather than an alias to avoid shadowing warnings in gcc.
struct data : basic_data<> {}; struct data : basic_data<> {};