Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52406 - branches/release/boost/signals2
From: fmhess_at_[hidden]
Date: 2009-04-15 09:05:43


Author: fmhess
Date: 2009-04-15 09:05:41 EDT (Wed, 15 Apr 2009)
New Revision: 52406
URL: http://svn.boost.org/trac/boost/changeset/52406

Log:
Merged [52404] from trunk.

Text files modified:
   branches/release/boost/signals2/deconstruct.hpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: branches/release/boost/signals2/deconstruct.hpp
==============================================================================
--- branches/release/boost/signals2/deconstruct.hpp (original)
+++ branches/release/boost/signals2/deconstruct.hpp 2009-04-15 09:05:41 EDT (Wed, 15 Apr 2009)
@@ -68,7 +68,7 @@
         return _sp;
     }
 #if defined( BOOST_HAS_VARIADIC_TMPL ) && defined( BOOST_HAS_RVALUE_REFS )
- template<class T, class... Args>
+ template<class... Args>
       const shared_ptr<T>& postconstruct(Args && ... args)
     {
         if(!_postconstructed)
@@ -77,6 +77,7 @@
                 detail::forward<Args>(args)...);
             _postconstructed = true;
         }
+ return _sp;
     }
 #else
     template<typename A1>
@@ -481,7 +482,7 @@
 
 template< class T, class... Args > postconstructor_invoker< T > deconstruct( Args && ... args )
 {
- return deconstruct_access::deconstruct( detail::forward<Args>( args )... );
+ return deconstruct_access::deconstruct<T>( detail::forward<Args>( args )... );
 }
 
 #else


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