diff options
author | antervis <[email protected]> | 2022-02-10 16:49:48 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:48 +0300 |
commit | 0942f9eeaefcfc84db83fa240d8ed52b99345e7d (patch) | |
tree | 59616090b13df8c4cb69f2a204dc97c93888262c /library/cpp/monlib/metrics | |
parent | 99ac40630808727955ac0448822228528f1ea92d (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/metrics')
-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 acba0fddf94..a7372e2a10a 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), |