diff options
author | antervis <antervis@yandex-team.ru> | 2022-02-10 16:49:48 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:48 +0300 |
commit | b3eef5b52437f05851a3e8fb489a68db0132657b (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/monlib/metrics/summary_collector.h | |
parent | 0942f9eeaefcfc84db83fa240d8ed52b99345e7d (diff) | |
download | ydb-b3eef5b52437f05851a3e8fb489a68db0132657b.tar.gz |
Restoring authorship annotation for <antervis@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib/metrics/summary_collector.h')
-rw-r--r-- | library/cpp/monlib/metrics/summary_collector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/monlib/metrics/summary_collector.h b/library/cpp/monlib/metrics/summary_collector.h index a7372e2a10..acba0fddf9 100644 --- a/library/cpp/monlib/metrics/summary_collector.h +++ b/library/cpp/monlib/metrics/summary_collector.h @@ -41,7 +41,7 @@ namespace NMonitoring { Count_.fetch_add(1ul, std::memory_order_relaxed); } - ISummaryDoubleSnapshotPtr Snapshot() const override { + ISummaryDoubleSnapshotPtr Snapshot() const override { return new TSummaryDoubleSnapshot( Sum_.load(std::memory_order_relaxed), Min_.load(std::memory_order_relaxed), |