aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/mon/analytics/util.h
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /library/cpp/lwtrace/mon/analytics/util.h
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
downloadydb-475c0a46f28166e83fd263badc7546377cddcabe.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/lwtrace/mon/analytics/util.h')
-rw-r--r--library/cpp/lwtrace/mon/analytics/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/lwtrace/mon/analytics/util.h b/library/cpp/lwtrace/mon/analytics/util.h
index e07d06cc43..777694781c 100644
--- a/library/cpp/lwtrace/mon/analytics/util.h
+++ b/library/cpp/lwtrace/mon/analytics/util.h
@@ -56,7 +56,7 @@ inline double MinValue(const TString& nameAndOpts, const TTable& table)
TString name;
THashSet<TString> opts;
ParseNameAndOpts(nameAndOpts, name, opts);
- bool stack = opts.contains("stack");
+ bool stack = opts.contains("stack");
if (stack) {
return 0.0;
} else {
@@ -73,7 +73,7 @@ inline double MaxValue(const TString& nameAndOpts, const TTable& table)
TString name;
THashSet<TString> opts;
ParseNameAndOpts(nameAndOpts, name, opts);
- bool stack = opts.contains("stack");
+ bool stack = opts.contains("stack");
if (stack) {
return AccumulateIfExist(name, table, 0.0, [] (double x, double y) {
return x + y;