From 3a63bf6965d3be4798984ae56f1d367f2ef1fd10 Mon Sep 17 00:00:00 2001 From: Otto Date: Tue, 8 Jun 2021 10:35:40 +0200 Subject: [PATCH] Finish rebase --- pdns/histogram.hh | 5 ++--- pdns/rec_channel_rec.cc | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pdns/histogram.hh b/pdns/histogram.hh index f3c34fe57c..0e04944f12 100644 --- a/pdns/histogram.hh +++ b/pdns/histogram.hh @@ -57,8 +57,8 @@ template class BaseHistogram { public: - - BaseHistogram(const std::string& prefix, const std::vector& boundaries) : d_name(prefix) + BaseHistogram(const std::string& prefix, const std::vector& boundaries) : + d_name(prefix) { if (!std::is_sorted(boundaries.cbegin(), boundaries.cend())) { throw std::invalid_argument("boundary array must be sorted"); @@ -144,7 +144,6 @@ private: std::vector d_buckets; std::string d_name; - std::vector to125(uint64_t start, int num) { std::vector boundaries; diff --git a/pdns/rec_channel_rec.cc b/pdns/rec_channel_rec.cc index 35a3dcc786..fb3f3bd7c8 100644 --- a/pdns/rec_channel_rec.cc +++ b/pdns/rec_channel_rec.cc @@ -211,7 +211,7 @@ StatsMap getAllStatsMap(StatComponent component) } for(const auto& themultimember : d_getmultimembers) { - if (blacklistMap.count(themultimember.first) == 0) { + if (disabledlistMap.count(themultimember.first) == 0) { ret.merge(themultimember.second()); } } -- 2.47.3