remove forward enum declaration

This commit is contained in:
Ryuuke 2015-02-07 22:47:42 +00:00
parent 51ceef3dee
commit bce73e2bd8

View File

@ -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);
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
/** /**