diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 049dfada..b743cc21 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1112,9 +1112,9 @@ public: return emplace_impl(value_from(std::forward(x))); } - BOOST_FORCEINLINE std::pair insert(init_type&& x) + BOOST_FORCEINLINE std::pair insert(value_type&& x) { - return emplace_impl(std::move(x)); + return emplace_impl(value_from(std::move(x))); } template<