Running astyle [ci skip]
This commit is contained in:
parent
e05a9d7e65
commit
7e2ba803f4
|
@ -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;
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
#include <ostream>
|
||||
#include <string>
|
||||
|
||||
enum class Color
|
||||
{
|
||||
enum class Color {
|
||||
Reset = 0,
|
||||
Bold = 1,
|
||||
Dim = 2,
|
||||
|
|
Loading…
Reference in New Issue