From bd13f2b1adef76205af2180bb941f36ca01e44bd Mon Sep 17 00:00:00 2001 From: Daniel James Date: Fri, 26 Aug 2011 15:28:56 +0000 Subject: [PATCH] Unordered: Fix some calls to std::forward. [SVN r74074] --- include/boost/unordered/detail/buckets.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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