aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/histogram/adaptive/histogram.h
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:17 +0300
commitd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch)
treedd4bd3ca0f36b817e96812825ffaf10d645803f2 /library/cpp/histogram/adaptive/histogram.h
parent72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff)
downloadydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/histogram/adaptive/histogram.h')
-rw-r--r--library/cpp/histogram/adaptive/histogram.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/histogram/adaptive/histogram.h b/library/cpp/histogram/adaptive/histogram.h
index a2ec2e46a4..360fd9a693 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() {
+ }
};
-}
+}