aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/colorizer/colors.h
diff options
context:
space:
mode:
authorVasily Gerasimov <UgnineSirdis@gmail.com>2022-02-10 16:49:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:09 +0300
commit6cdc8f140213c595e4ad38bc3d97fcef1146b8c3 (patch)
treef69637041e6fed76ebae0c74ae1fa0c4be6ab5b4 /library/cpp/colorizer/colors.h
parente5d4696304c6689379ac7ce334512404d4b7836c (diff)
downloadydb-6cdc8f140213c595e4ad38bc3d97fcef1146b8c3.tar.gz
Restoring authorship annotation for Vasily Gerasimov <UgnineSirdis@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/colorizer/colors.h')
-rw-r--r--library/cpp/colorizer/colors.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/colorizer/colors.h b/library/cpp/colorizer/colors.h
index 474a918994..c40570c9bc 100644
--- a/library/cpp/colorizer/colors.h
+++ b/library/cpp/colorizer/colors.h
@@ -1,6 +1,6 @@
#pragma once
-#include "fwd.h"
+#include "fwd.h"
#include <util/generic/string.h>
#include <util/generic/strbuf.h>
@@ -104,8 +104,8 @@ namespace NColorizer {
static bool CalcIsTTY(FILE* file);
public:
- explicit TColors(FILE* = stderr);
- explicit TColors(bool ontty);
+ explicit TColors(FILE* = stderr);
+ explicit TColors(bool ontty);
TStringBuf Reset() const noexcept;
@@ -213,9 +213,9 @@ namespace NColorizer {
};
/// Singletone `TColors` instances for stderr/stdout.
- TColors& StdErr();
- TColors& StdOut();
-
+ TColors& StdErr();
+ TColors& StdOut();
+
/// Choose `TColors` depending on output stream. If passed stream is stderr/stdout, return a corresponding
/// singletone. Otherwise, return a disabled singletone (which you can, but should *not* enable).
TColors& AutoColors(IOutputStream& os);