From: Francesco Chemolli Date: Fri, 9 Dec 2011 22:09:20 +0000 (+0100) Subject: Made StatHist::capacity private X-Git-Tag: BumpSslServerFirst.take05~12^2~120^2~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f8cab195e5afbf06c176caacf8fc1a0d2b283ef3;p=thirdparty%2Fsquid.git Made StatHist::capacity private --- f8cab195e5afbf06c176caacf8fc1a0d2b283ef3 diff --cc src/StatHist.h index 8afd5b605a,f80f9376a1..7c3ffecbc5 --- a/src/StatHist.h +++ b/src/StatHist.h @@@ -42,8 -42,7 +42,6 @@@ class StatHist { public: void clear(); - int *bins; -- int capacity; double min; double max; double scale; @@@ -61,8 -59,11 +58,11 @@@ void enumInit(int last_enum); void intInit(int n); void init(int capacity, hbase_f * val_in, hbase_f * val_out, double min, double max); + double deltaPctile(const StatHist & B, double pctile); private: int findBin(double v); + int *bins; - ++ int capacity; }; /* StatHist */