Commit bce73e2b authored by Ryuuke's avatar Ryuuke

remove forward enum declaration

parent 51ceef3d
...@@ -2164,7 +2164,7 @@ void report_windows_error(int error_code, StringRef message) FMT_NOEXCEPT(true); ...@@ -2164,7 +2164,7 @@ void report_windows_error(int error_code, StringRef message) FMT_NOEXCEPT(true);
#endif #endif
#ifdef _WIN32 #ifdef _WIN32
enum Color : uint8_t enum Color
{ {
BLACK = 0, BLACK = 0,
RED = FOREGROUND_RED | FOREGROUND_INTENSITY, RED = FOREGROUND_RED | FOREGROUND_INTENSITY,
...@@ -2176,7 +2176,7 @@ void report_windows_error(int error_code, StringRef message) FMT_NOEXCEPT(true); ...@@ -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 WHITE = FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_BLUE | FOREGROUND_INTENSITY
}; };
#else #else
enum Color : uint8_t { BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE }; enum Color { BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE };
#endif #endif
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment