mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-01 22:20:06 +00:00
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