Boost logo

Boost-Commit :

From: stipe_at_[hidden]
Date: 2008-08-01 02:50:19


Author: srajko
Date: 2008-08-01 02:50:19 EDT (Fri, 01 Aug 2008)
New Revision: 47927
URL: http://svn.boost.org/trac/boost/changeset/47927

Log:
rolling back factory.hpp changes
Text files modified:
   sandbox/SOC/2007/signals/boost/functional/factory.hpp | 4 +---
   1 files changed, 1 insertions(+), 3 deletions(-)

Modified: sandbox/SOC/2007/signals/boost/functional/factory.hpp
==============================================================================
--- sandbox/SOC/2007/signals/boost/functional/factory.hpp (original)
+++ sandbox/SOC/2007/signals/boost/functional/factory.hpp 2008-08-01 02:50:19 EDT (Fri, 01 Aug 2008)
@@ -46,9 +46,7 @@
         inline result_type operator()() const
         {
             memory m(this->obj_allocator);
-// result_type result( new(m.get()) value_type() );
- obj_allocator.construct(m.get(), value_type());
- result_type result(m.get());
+ result_type result( new(m.get()) value_type() );
             m.release();
             return result;
         }


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