summaryrefslogtreecommitdiff
path: root/boost/intrusive/treap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/intrusive/treap.hpp')
-rw-r--r--boost/intrusive/treap.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/intrusive/treap.hpp b/boost/intrusive/treap.hpp
index 8567072d54..c6f63ff2de 100644
--- a/boost/intrusive/treap.hpp
+++ b/boost/intrusive/treap.hpp
@@ -354,9 +354,9 @@ class treap_impl
//! <b>Throws</b>: If the comparison functor's swap call throws.
void swap(treap_impl& other)
{
- tree_type::swap(other);
//This can throw
::boost::adl_move_swap(this->priv_pcomp(), other.priv_pcomp());
+ tree_type::swap(other);
}
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.