|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65000 - trunk/boost/signals2
From: fmhess_at_[hidden]
Date: 2010-08-25 13:11:59
Author: fmhess
Date: 2010-08-25 13:11:56 EDT (Wed, 25 Aug 2010)
New Revision: 65000
URL: http://svn.boost.org/trac/boost/changeset/65000
Log:
Trying to fix test failure on gcc 4.5 in c++0x mode.
Text files modified:
trunk/boost/signals2/deconstruct.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/signals2/deconstruct.hpp
==============================================================================
--- trunk/boost/signals2/deconstruct.hpp (original)
+++ trunk/boost/signals2/deconstruct.hpp 2010-08-25 13:11:56 EDT (Wed, 25 Aug 2010)
@@ -45,9 +45,9 @@
{
#if !defined(BOOST_NO_RVALUE_REFERENCES)
- template< class T > T&& forward( T &&t )
+ template< class T > T&& forward( T & t )
{
- return t;
+ return static_cast< T&& >( t );
}
#endif
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