Fix incorrect try_emplace call

This commit is contained in:
Daniel James
2017-04-25 01:39:06 +01:00
parent 9c8980e6a1
commit 07b9a7d60e

View File

@ -523,7 +523,7 @@ template <class K, class T, class H, class P, class A> class unordered_map
std::pair<iterator, bool> try_emplace(
BOOST_RV_REF(key_type) k, BOOST_FWD_REF(A0) a0)
{
return table_.try_emplace_hint_unique(
return table_.try_emplace_unique(
boost::move(k), boost::unordered::detail::create_emplace_args(
boost::forward<A0>(a0)));
}