diff --git a/pdns/statbag.hh b/pdns/statbag.hh index 3e54e682d81b..3d1239011499 100644 --- a/pdns/statbag.hh +++ b/pdns/statbag.hh @@ -38,19 +38,19 @@ public: StatRing& operator=(const StatRing&) = delete; StatRing& operator=(StatRing&&) = delete; StatRing(StatRing&&) = default; - + void account(const T &item); uint64_t getSize() const; uint64_t getEntriesCount() const; - void resize(unsigned int newsize); + void resize(unsigned int newsize); void reset(); void setHelp(const string &str); string getHelp() const; vector > get() const; private: - static bool popisort(const pair &a, const pair &b) + static bool popisort(const pair &a, const pair &b) { return (a.second > b.second); }