diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index 4a527959..a362468f 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -1070,9 +1070,10 @@ template const wchar_t basic_data::wreset_color[] = L"\x1b[0m"; template const char basic_data::signs[] = {0, '-', '+', ' '}; #if __cplusplus < 201703L -template const char basic_data::hex_digits[]; -template const char basic_data::left_padding_shifts[]; -template const char basic_data::right_padding_shifts[]; +template constexpr const char basic_data::hex_digits[]; +template constexpr const char basic_data::left_padding_shifts[]; +template +constexpr const char basic_data::right_padding_shifts[]; #endif template struct bits {