Fixed typo causing errors in clang builds.

[SVN r86046]
This commit is contained in:
Ion Gaztañaga
2013-09-30 04:48:56 +00:00
parent 254095432e
commit 332ab85387

View File

@@ -829,7 +829,7 @@ class rbtree
template <class... Args> template <class... Args>
iterator emplace_hint_equal(const_iterator hint, Args&&... 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()); scoped_destroy_deallocator<NodeAlloc> destroy_deallocator(tmp, this->node_alloc());
iterator ret(this->icont().insert_equal(hint.get(), *tmp)); iterator ret(this->icont().insert_equal(hint.get(), *tmp));
destroy_deallocator.release(); destroy_deallocator.release();