aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/histogram/adaptive/multi_histogram.h
diff options
context:
space:
mode:
authormihaild <mihaild@yandex-team.ru>2022-02-10 16:46:59 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:59 +0300
commit55fa8c7df8dba9a6fda8a807e529a9d04bd88580 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/histogram/adaptive/multi_histogram.h
parent246417ad6168d3f7ab4a0cf1c79ba4259f7c45ae (diff)
downloadydb-55fa8c7df8dba9a6fda8a807e529a9d04bd88580.tar.gz
Restoring authorship annotation for <mihaild@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/histogram/adaptive/multi_histogram.h')
-rw-r--r--library/cpp/histogram/adaptive/multi_histogram.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/histogram/adaptive/multi_histogram.h b/library/cpp/histogram/adaptive/multi_histogram.h
index 0fb429cf4d..41caac5ba6 100644
--- a/library/cpp/histogram/adaptive/multi_histogram.h
+++ b/library/cpp/histogram/adaptive/multi_histogram.h
@@ -7,7 +7,7 @@
#include <util/generic/hash.h>
#include <util/generic/ptr.h>
-#include <utility>
+#include <utility>
namespace NKiwiAggr {
template <class TMyHistogram>
@@ -51,7 +51,7 @@ namespace NKiwiAggr {
void Add(ui64 id, double value, double weight) {
THistogramsMap::const_iterator it = Histograms.find(id);
if (it == Histograms.end()) {
- it = Histograms.insert(std::make_pair(id, IHistogramPtr(new TMyHistogram(Intervals, id)))).first;
+ it = Histograms.insert(std::make_pair(id, IHistogramPtr(new TMyHistogram(Intervals, id)))).first;
}
it->second->Add(value, weight);
}