|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74074 - trunk/boost/unordered/detail
From: dnljms_at_[hidden]
Date: 2011-08-26 11:28:57
Author: danieljames
Date: 2011-08-26 11:28:56 EDT (Fri, 26 Aug 2011)
New Revision: 74074
URL: http://svn.boost.org/trac/boost/changeset/74074
Log:
Unordered: Fix some calls to std::forward.
Text files modified:
trunk/boost/unordered/detail/buckets.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/unordered/detail/buckets.hpp
==============================================================================
--- trunk/boost/unordered/detail/buckets.hpp (original)
+++ trunk/boost/unordered/detail/buckets.hpp 2011-08-26 11:28:56 EDT (Fri, 26 Aug 2011)
@@ -552,7 +552,7 @@
void*>::type address,
Arg1&& a1)
{
- new(address) T(boost::forward<Arg1>(a1));
+ new(address) T(std::forward<Arg1>(a1));
}
template <class T, class Arg1>
@@ -561,13 +561,13 @@
void*>::type address,
Arg1&& a1)
{
- new(address) T(boost::forward<Arg1>(a1), typename T::second_type());
+ new(address) T(std::forward<Arg1>(a1), typename T::second_type());
}
template <class T, class Arg1, class Arg2>
inline void construct_impl(void* address, Arg1&& a1, Arg2&& a2)
{
- new(address) T(std::forward<Arg1, Arg2>(a1, a2));
+ new(address) T(std::forward<Arg1>(a1), std::forward<Arg2>(a2));
}
template <class T, class Arg1, class Arg2, class... Args>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk