aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/counters/counters.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/monlib/counters/counters.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib/counters/counters.cpp')
-rw-r--r--library/cpp/monlib/counters/counters.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/monlib/counters/counters.cpp b/library/cpp/monlib/counters/counters.cpp
index bda7f8c404..50dca4c577 100644
--- a/library/cpp/monlib/counters/counters.cpp
+++ b/library/cpp/monlib/counters/counters.cpp
@@ -27,7 +27,7 @@ namespace NMonitoring {
}
char* PrettyNum(i64 val, char* buf, size_t size) {
- Y_ASSERT(buf);
+ Y_ASSERT(buf);
if (size < 4) {
buf[0] = 0;
return buf;
@@ -37,7 +37,7 @@ namespace NMonitoring {
*buf = '\0';
} else {
size_t len = 2 + strnlen(buf + 2, size - 4);
- Y_ASSERT(len < size);
+ Y_ASSERT(len < size);
buf[0] = ' ';
buf[1] = '(';
buf[len] = ')';