Fix a warning (#1712)
This commit is contained in:
parent
95c6ac0cc8
commit
795b47a7b5
@ -759,7 +759,9 @@ template <typename T = void> struct FMT_EXTERN_TEMPLATE_API basic_data {
|
||||
static const char right_padding_shifts[5];
|
||||
};
|
||||
|
||||
#ifndef FMT_EXPORT
|
||||
FMT_EXTERN template struct basic_data<void>;
|
||||
#endif
|
||||
|
||||
// This is a struct rather than an alias to avoid shadowing warnings in gcc.
|
||||
struct data : basic_data<> {};
|
||||
|
Loading…
Reference in New Issue
Block a user