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