diff --git a/mutation/mutation.hh b/mutation/mutation.hh index 630d0dd1eb..58b602da3f 100644 --- a/mutation/mutation.hh +++ b/mutation/mutation.hh @@ -189,8 +189,6 @@ private: friend std::ostream& operator<<(std::ostream& os, const mutation& m); }; -namespace { - template std::optional consume_clustering_fragments(schema_ptr s, mutation_partition& partition, Consumer& consumer, mutation_consume_cookie& cookie, is_preemptible preempt = is_preemptible::no) { constexpr bool crs_in_reverse = reverse == consume_in_reverse::yes; @@ -308,8 +306,6 @@ std::optional consume_clustering_fragments(schema_ptr s, mutatio return stop; } -} // anonymous namespace - template auto mutation::consume(Consumer& consumer, consume_in_reverse reverse, mutation_consume_cookie cookie) && -> mutation_consume_result { diff --git a/utils/config_file_impl.hh b/utils/config_file_impl.hh index 63a2e6a973..b3f83fb763 100644 --- a/utils/config_file_impl.hh +++ b/utils/config_file_impl.hh @@ -135,8 +135,6 @@ void validate(boost::any& out, const std::vector& in, std::unordere namespace utils { -namespace { - /* * Our own bpo::typed_valye. * Only difference is that we _don't_ apply defaults (they are already applied) @@ -172,8 +170,6 @@ inline typed_value_ex* value_ex() { return r; } -} - sstring hyphenate(const std::string_view&); }