diff --git a/include/boost/unordered/detail/buckets.hpp b/include/boost/unordered/detail/buckets.hpp index f352ba5b..4f25ebb6 100644 --- a/include/boost/unordered/detail/buckets.hpp +++ b/include/boost/unordered/detail/buckets.hpp @@ -552,7 +552,7 @@ namespace boost { namespace unordered { namespace detail { void*>::type address, Arg1&& a1) { - new(address) T(boost::forward(a1)); + new(address) T(std::forward(a1)); } template @@ -561,13 +561,13 @@ namespace boost { namespace unordered { namespace detail { void*>::type address, Arg1&& a1) { - new(address) T(boost::forward(a1), typename T::second_type()); + new(address) T(std::forward(a1), typename T::second_type()); } template inline void construct_impl(void* address, Arg1&& a1, Arg2&& a2) { - new(address) T(std::forward(a1, a2)); + new(address) T(std::forward(a1), std::forward(a2)); } template