Fixed typo causing errors in clang builds.

[SVN r86045]
This commit is contained in:
Ion Gaztañaga
2013-09-30 04:47:29 +00:00
parent 59c5ed7781
commit 62227ae741

View File

@@ -829,7 +829,7 @@ class rbtree
template <class... Args>
iterator emplace_hint_equal(const_iterator hint, Args&&... args)
{
NodePtr p(AllocHolder::create_node(boost::forward<Args>(args)...));
NodePtr tmp(AllocHolder::create_node(boost::forward<Args>(args)...));
scoped_destroy_deallocator<NodeAlloc> destroy_deallocator(tmp, this->node_alloc());
iterator ret(this->icont().insert_equal(hint.get(), *tmp));
destroy_deallocator.release();