From 07b9a7d60e42d80bfdc8d0a63907a4377fdfe16b Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 25 Apr 2017 01:39:06 +0100 Subject: [PATCH] Fix incorrect try_emplace call --- include/boost/unordered/unordered_map.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/unordered_map.hpp b/include/boost/unordered/unordered_map.hpp index 57798ca5..a966c61f 100644 --- a/include/boost/unordered/unordered_map.hpp +++ b/include/boost/unordered/unordered_map.hpp @@ -523,7 +523,7 @@ template class unordered_map std::pair 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))); }