Skip to content

Commit

Permalink
[MISC] Make HIBF agents copyable
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Jul 11, 2024
1 parent fead38a commit 86abfc5
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions include/hibf/hierarchical_interleaved_bloom_filter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class hierarchical_interleaved_bloom_filter::membership_agent_type
{
private:
//!\brief A pointer to the augmented hierarchical_interleaved_bloom_filter.
hierarchical_interleaved_bloom_filter const * const hibf_ptr{nullptr};
hierarchical_interleaved_bloom_filter const * hibf_ptr{nullptr};

//!\brief Helper for recursive membership querying.
template <std::ranges::forward_range value_range_t>
Expand Down Expand Up @@ -305,12 +305,12 @@ class hierarchical_interleaved_bloom_filter::membership_agent_type
/*!\name Constructors, destructor and assignment
* \{
*/
membership_agent_type() = default; //!< Defaulted.
membership_agent_type(membership_agent_type const &) = default; //!< Defaulted.
membership_agent_type & operator=(membership_agent_type const &) = delete; //!< Deleted. hibf_ptr is const.
membership_agent_type(membership_agent_type &&) = default; //!< Defaulted.
membership_agent_type & operator=(membership_agent_type &&) = delete; //!< Deleted. hibf_ptr is const.
~membership_agent_type() = default; //!< Defaulted.
membership_agent_type() = default; //!< Defaulted.
membership_agent_type(membership_agent_type const &) = default; //!< Defaulted.
membership_agent_type & operator=(membership_agent_type const &) = default; //!< Defaulted.
membership_agent_type(membership_agent_type &&) = default; //!< Defaulted.
membership_agent_type & operator=(membership_agent_type &&) = default; //!< Defaulted.
~membership_agent_type() = default; //!< Defaulted.

/*!\brief Construct a membership_agent_type for an existing hierarchical_interleaved_bloom_filter.
* \private
Expand Down Expand Up @@ -401,7 +401,7 @@ class hierarchical_interleaved_bloom_filter::counting_agent_type
{
private:
//!\brief A pointer to the augmented hierarchical_interleaved_bloom_filter.
hierarchical_interleaved_bloom_filter const * const hibf_ptr{nullptr};
hierarchical_interleaved_bloom_filter const * hibf_ptr{nullptr};

//!\brief Helper for recursive bulk counting.
template <std::ranges::forward_range value_range_t>
Expand Down Expand Up @@ -440,12 +440,12 @@ class hierarchical_interleaved_bloom_filter::counting_agent_type
/*!\name Constructors, destructor and assignment
* \{
*/
counting_agent_type() = default; //!< Defaulted.
counting_agent_type(counting_agent_type const &) = default; //!< Defaulted.
counting_agent_type & operator=(counting_agent_type const &) = delete; //!< Deleted. hibf_ptr is const.
counting_agent_type(counting_agent_type &&) = default; //!< Defaulted.
counting_agent_type & operator=(counting_agent_type &&) = delete; //!< Deleted. hibf_ptr is const.
~counting_agent_type() = default; //!< Defaulted.
counting_agent_type() = default; //!< Defaulted.
counting_agent_type(counting_agent_type const &) = default; //!< Defaulted.
counting_agent_type & operator=(counting_agent_type const &) = default; //!< Defaulted.
counting_agent_type(counting_agent_type &&) = default; //!< Defaulted.
counting_agent_type & operator=(counting_agent_type &&) = default; //!< Defaulted.
~counting_agent_type() = default; //!< Defaulted.

/*!\brief Construct a counting_agent_type for an existing hierarchical_interleaved_bloom_filter.
* \private
Expand Down

0 comments on commit 86abfc5

Please sign in to comment.