From 7e2ba803f40f56159399c8efc66e7126bf25ad4e Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Thu, 8 Jul 2021 22:18:58 +0200 Subject: [PATCH] Running astyle [ci skip] --- lib/color.cpp | 2 +- lib/color.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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,