diff --git a/include/cuco/bloom_filter_ref.cuh b/include/cuco/bloom_filter_ref.cuh index a4b0cb06f..2c8102a4e 100644 --- a/include/cuco/bloom_filter_ref.cuh +++ b/include/cuco/bloom_filter_ref.cuh @@ -97,26 +97,26 @@ class bloom_filter_ref // pattern[i] |= word_type{1} << (hash_value & bit_index_mask); // hash_value >>= bit_index_width; // } - } - - return pattern; -} -private : uint32_t pattern_bits_; -Hash hash_; -storage_ref_type storage_ref_; - -// Mixins need to be friends with this class in order to access private members -template -friend class detail::operator_impl; + return pattern; + } -// Refs with other operator sets need to be friends too -template -friend class bloom_filter_ref; + private: + uint32_t pattern_bits_; + Hash hash_; + storage_ref_type storage_ref_; + + // Mixins need to be friends with this class in order to access private members + template + friend class detail::operator_impl; + + // Refs with other operator sets need to be friends too + template + friend class bloom_filter_ref; }; namespace detail { diff --git a/include/cuco/operator.hpp b/include/cuco/operator.hpp index e735cc533..984a9f78b 100644 --- a/include/cuco/operator.hpp +++ b/include/cuco/operator.hpp @@ -80,16 +80,6 @@ struct for_each_tag { struct add_tag { } inline constexpr add; ///< `cuco::add` operator -namespace reduce { - -/** - * @brief `sum` reduction operator tag - */ -struct sum_tag { -} inline constexpr sum; - -} // namespace reduce - } // namespace op } // namespace cuco