Declare the size of RESET_COLOR.
This is so that the format with a text_tyle will compile even if header-only mode isn't enabled. Addresses #1063.
This commit is contained in:
committed by
Victor Zverovich
parent
8f7780a4f6
commit
d8434baa03
@@ -766,8 +766,8 @@ template <typename T = void> struct FMT_API basic_data {
|
||||
static const char DIGITS[];
|
||||
static const char FOREGROUND_COLOR[];
|
||||
static const char BACKGROUND_COLOR[];
|
||||
static const char RESET_COLOR[];
|
||||
static const wchar_t WRESET_COLOR[];
|
||||
static const char RESET_COLOR[5];
|
||||
static const wchar_t WRESET_COLOR[5];
|
||||
};
|
||||
|
||||
#if FMT_USE_EXTERN_TEMPLATES
|
||||
|
||||
Reference in New Issue
Block a user