mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-29 13:21:05 +00:00
specify size for prefixes
static data
This commit is contained in:
parent
95da484727
commit
2e0d64cf2f
@ -971,8 +971,8 @@ template <typename T = void> struct FMT_EXTERN_TEMPLATE_API basic_data {
|
||||
static const char reset_color[5];
|
||||
static const wchar_t wreset_color[5];
|
||||
static const char signs[];
|
||||
static constexpr const unsigned prefixes[] = {0, 0, 0x1000000u | '+',
|
||||
0x1000000u | ' '};
|
||||
static constexpr const unsigned prefixes[4] = {0, 0, 0x1000000u | '+',
|
||||
0x1000000u | ' '};
|
||||
static constexpr const char left_padding_shifts[] = {31, 31, 0, 1, 0};
|
||||
static constexpr const char right_padding_shifts[] = {0, 31, 0, 1, 0};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user