dense_map/dense_set: default dtor

This commit is contained in:
Michele Caini
2024-05-21 08:13:38 +02:00
parent 9ec4d69b1e
commit 4c4bbed0a2
2 changed files with 6 additions and 0 deletions

View File

@@ -435,6 +435,9 @@ public:
packed{std::piecewise_construct, std::forward_as_tuple(std::move(other.packed.first()), allocator), std::forward_as_tuple(std::move(other.packed.second()))},
threshold{other.threshold} {}
/*! @brief Default destructor. */
~dense_map() noexcept = default;
/**
* @brief Default copy assignment operator.
* @return This container.

View File

@@ -383,6 +383,9 @@ public:
packed{std::piecewise_construct, std::forward_as_tuple(std::move(other.packed.first()), allocator), std::forward_as_tuple(std::move(other.packed.second()))},
threshold{other.threshold} {}
/*! @brief Default destructor. */
~dense_set() noexcept = default;
/**
* @brief Default copy assignment operator.
* @return This container.