diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/histogram/adaptive/histogram.h | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/histogram/adaptive/histogram.h')
-rw-r--r-- | library/cpp/histogram/adaptive/histogram.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/histogram/adaptive/histogram.h b/library/cpp/histogram/adaptive/histogram.h index 360fd9a693..a2ec2e46a4 100644 --- a/library/cpp/histogram/adaptive/histogram.h +++ b/library/cpp/histogram/adaptive/histogram.h @@ -8,7 +8,7 @@ namespace NKiwiAggr { class THistoRec; class IHistogram; - typedef TAtomicSharedPtr<IHistogram> IHistogramPtr; + typedef TAtomicSharedPtr<IHistogram> IHistogramPtr; class IHistogram { public: @@ -18,7 +18,7 @@ namespace NKiwiAggr { // TSomeHistogram(const THistogram& histo); // histo must be acceptable for TSomeHistogram, for example, only with HT_FIXED_BIN_HISTOGRAM for TFixedBinHistogram // TSomeHistogram(IHistogram* histo); // any kind of IHistogram - virtual ~IHistogram() { + virtual ~IHistogram() { } virtual void Clear() = 0; @@ -35,7 +35,7 @@ namespace NKiwiAggr { // factor should be greater then zero virtual void Multiply(double factor) = 0; - virtual void FromProto(const THistogram& histo) = 0; // throws exception in case of wrong histogram type of histo + virtual void FromProto(const THistogram& histo) = 0; // throws exception in case of wrong histogram type of histo virtual void ToProto(THistogram& histo) = 0; virtual void SetId(ui64 id) = 0; @@ -59,8 +59,8 @@ namespace NKiwiAggr { } // Histogram implementation is supposed to clear all precomputed values() if Add() is called after PrecomputePartialSums() - virtual void PrecomputePartialSums() { - } + virtual void PrecomputePartialSums() { + } }; -} +} |