Running astyle [ci skip]

This commit is contained in:
orbitcowboy 2021-07-08 22:18:58 +02:00
parent e05a9d7e65
commit 7e2ba803f4
2 changed files with 2 additions and 3 deletions

View File

@ -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<std::size_t>(c) << "m";
#endif
return os;

View File

@ -22,8 +22,7 @@
#include <ostream>
#include <string>
enum class Color
{
enum class Color {
Reset = 0,
Bold = 1,
Dim = 2,