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 {