mirror of
https://github.com/boostorg/unordered.git
synced 2025-11-08 11:41:44 +01:00
complied with https://github.com/boostorg/core/commit/5f6fe65
This commit is contained in:
@@ -2327,9 +2327,9 @@ namespace boost {
|
||||
alloc_ == n.alloc_);
|
||||
if (value_allocator_traits::propagate_on_container_swap::value ||
|
||||
!alloc_.has_value() || !n.alloc_.has_value()) {
|
||||
boost::swap(alloc_, n.alloc_);
|
||||
boost::core::invoke_swap(alloc_, n.alloc_);
|
||||
}
|
||||
boost::swap(ptr_, n.ptr_);
|
||||
boost::core::invoke_swap(ptr_, n.ptr_);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -2376,9 +2376,9 @@ namespace boost {
|
||||
void swap(
|
||||
insert_return_type_set<Iter, NodeType>& x, insert_return_type_set<Iter, NodeType>& y)
|
||||
{
|
||||
boost::swap(x.node, y.node);
|
||||
boost::swap(x.inserted, y.inserted);
|
||||
boost::swap(x.position, y.position);
|
||||
boost::core::invoke_swap(x.node, y.node);
|
||||
boost::core::invoke_swap(x.inserted, y.inserted);
|
||||
boost::core::invoke_swap(x.position, y.position);
|
||||
}
|
||||
} // namespace unordered
|
||||
|
||||
|
||||
Reference in New Issue
Block a user