diff --git a/lib/color.cpp b/lib/color.cpp index db79d78d9..1f4b21de1 100644 --- a/lib/color.cpp +++ b/lib/color.cpp @@ -8,7 +8,7 @@ std::ostream& operator<<(std::ostream& os, const Color& c) { #ifndef _WIN32 static const bool use_color = isatty(STDOUT_FILENO); - if(use_color) + if (use_color) return os << "\033[" << static_cast(c) << "m"; #endif return os; diff --git a/lib/color.h b/lib/color.h index 11c84c4d9..a4632ddb0 100644 --- a/lib/color.h +++ b/lib/color.h @@ -22,8 +22,7 @@ #include #include -enum class Color -{ +enum class Color { Reset = 0, Bold = 1, Dim = 2,