From: Ali Maredia Date: Mon, 26 Sep 2022 19:01:31 +0000 (-0400) Subject: common: comment out static_asserts for output iterators for centos 8 builds X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d14073b0dbe2f4714faf4bdd46bfaf0f5d789d60;p=ceph.git common: comment out static_asserts for output iterators for centos 8 builds Signed-off-by: Ali Maredia --- diff --git a/src/common/perf_counters_cache_key.cc b/src/common/perf_counters_cache_key.cc index acaff845dfbf4..d3ecfa34856ea 100644 --- a/src/common/perf_counters_cache_key.cc +++ b/src/common/perf_counters_cache_key.cc @@ -76,7 +76,7 @@ class label_iterator { label_iterator() = default; label_iterator(base_iterator begin, base_iterator end) : state(make_state(begin, end)) { - static_assert(std::forward_iterator); + //static_assert(std::forward_iterator); } label_iterator& operator++() { @@ -117,7 +117,7 @@ class label_insert_iterator { using reference = value_type&; label_insert_iterator(base_iterator begin) : label{begin} { - static_assert(std::output_iterator); + //static_assert(std::output_iterator); } // increments are noops