mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
remove forward enum declaration
This commit is contained in:
parent
51ceef3dee
commit
bce73e2bd8
4
format.h
4
format.h
@ -2164,7 +2164,7 @@ void report_windows_error(int error_code, StringRef message) FMT_NOEXCEPT(true);
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
enum Color : uint8_t
|
||||
enum Color
|
||||
{
|
||||
BLACK = 0,
|
||||
RED = FOREGROUND_RED | FOREGROUND_INTENSITY,
|
||||
@ -2176,7 +2176,7 @@ void report_windows_error(int error_code, StringRef message) FMT_NOEXCEPT(true);
|
||||
WHITE = FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_BLUE | FOREGROUND_INTENSITY
|
||||
};
|
||||
#else
|
||||
enum Color : uint8_t { BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE };
|
||||
enum Color { BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE };
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user