From: Francesco Chemolli Date: Sat, 10 Dec 2011 21:51:28 +0000 (+0100) Subject: Made all StatHist data members private. X-Git-Tag: BumpSslServerFirst.take05~12^2~120^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31686d2d0bc5fc64488d4b4e9f36e3d083de31aa;p=thirdparty%2Fsquid.git Made all StatHist data members private. --- diff --git a/src/StatHist.h b/src/StatHist.h index 7c3ffecbc5..77c5738076 100644 --- a/src/StatHist.h +++ b/src/StatHist.h @@ -42,11 +42,6 @@ class StatHist { public: void clear(); - double min; - double max; - double scale; - hbase_f *val_in; /* e.g., log() for log-based histogram */ - hbase_f *val_out; /* e.g., exp() for log based histogram */ double deltaPctile(const StatHist &B, double pctile) const; double val(int bin) const; //todo: make private void count(double val); @@ -63,6 +58,11 @@ private: int findBin(double v); int *bins; int capacity; + double min; + double max; + double scale; + hbase_f *val_in; /* e.g., log() for log-based histogram */ + hbase_f *val_out; /* e.g., exp() for log based histogram */ }; /* StatHist */