Workaround a gcc 9.1 bug (#2334)

This commit is contained in:
Victor Zverovich
2021-06-01 06:34:43 -07:00
parent 2dba1cfac1
commit 8c1b22ba6d
2 changed files with 2 additions and 4 deletions

View File

@@ -148,8 +148,7 @@ template <> FMT_FUNC int count_digits<4>(detail::fallback_uintptr n) {
}
#if __cplusplus < 201703L
template <typename T>
constexpr const typename basic_data<T>::digit_pair basic_data<T>::digits[];
template <typename T> constexpr const char basic_data<T>::digits[][2];
template <typename T> constexpr const char basic_data<T>::hex_digits[];
template <typename T> constexpr const char basic_data<T>::signs[];
template <typename T> constexpr const unsigned basic_data<T>::prefixes[];