diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index 48dbbd63..596f8ef9 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -187,12 +187,7 @@ template struct basic_data { extern template struct basic_data; #endif -// This is a struct rather than an alias to avoid shadowing warnings in gcc. -struct data : basic_data<> {}; - #if __cplusplus < 201703L -template constexpr const unsigned basic_data::prefixes[]; - // DEPRECATED! These are here only for ABI compatiblity. template constexpr const char basic_data::digits[][2]; template constexpr const char basic_data::hex_digits[]; @@ -200,6 +195,7 @@ template constexpr const char basic_data::signs[]; template constexpr const char basic_data::left_padding_shifts[]; template constexpr const char basic_data::right_padding_shifts[]; +template constexpr const unsigned basic_data::prefixes[]; #endif template struct bits {