mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-03 22:44:43 +02:00
Fixed typo in swap function
This commit is contained in:
@@ -967,7 +967,7 @@ class bstree_impl
|
|||||||
void swap(bstree_impl& other)
|
void swap(bstree_impl& other)
|
||||||
{
|
{
|
||||||
//This can throw
|
//This can throw
|
||||||
::boost::adl_move_swap(this->comp(), other->comp());
|
::boost::adl_move_swap(this->comp(), other.comp());
|
||||||
//These can't throw
|
//These can't throw
|
||||||
node_algorithms::swap_tree(this->header_ptr(), node_ptr(other.header_ptr()));
|
node_algorithms::swap_tree(this->header_ptr(), node_ptr(other.header_ptr()));
|
||||||
this->sz_traits().swap(other.sz_traits());
|
this->sz_traits().swap(other.sz_traits());
|
||||||
|
Reference in New Issue
Block a user