aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/counters/counters.cpp
diff options
context:
space:
mode:
authorSergey Polovko <sergey@polovko.me>2022-02-10 16:47:03 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:03 +0300
commit2e714b5ebd40a1f4cc31c27f1ad6e49ca6d895f5 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/monlib/counters/counters.cpp
parent3e0b762a82514bac89c1dd6ea7211e381d8aa248 (diff)
downloadydb-2e714b5ebd40a1f4cc31c27f1ad6e49ca6d895f5.tar.gz
Restoring authorship annotation for Sergey Polovko <sergey@polovko.me>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib/counters/counters.cpp')
-rw-r--r--library/cpp/monlib/counters/counters.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/monlib/counters/counters.cpp b/library/cpp/monlib/counters/counters.cpp
index f49589fac2..50dca4c577 100644
--- a/library/cpp/monlib/counters/counters.cpp
+++ b/library/cpp/monlib/counters/counters.cpp
@@ -2,7 +2,7 @@
#include "counters.h"
namespace NMonitoring {
- char* PrettyNumShort(i64 val, char* buf, size_t size) {
+ char* PrettyNumShort(i64 val, char* buf, size_t size) {
static const char shorts[] = {' ', 'K', 'M', 'G', 'T', 'P', 'E'};
unsigned i = 0;
i64 major = val;
@@ -26,7 +26,7 @@ namespace NMonitoring {
return buf;
}
- char* PrettyNum(i64 val, char* buf, size_t size) {
+ char* PrettyNum(i64 val, char* buf, size_t size) {
Y_ASSERT(buf);
if (size < 4) {
buf[0] = 0;
@@ -46,4 +46,4 @@ namespace NMonitoring {
return buf;
}
-}
+}