Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65058 - in sandbox/SOC/2010/process/boost/process: . detail
From: boris_at_[hidden]
Date: 2010-08-27 14:57:30


Author: bschaeling
Date: 2010-08-27 14:57:22 EDT (Fri, 27 Aug 2010)
New Revision: 65058
URL: http://svn.boost.org/trac/boost/changeset/65058

Log:
Updated boost::make_shared() calls
Text files modified:
   sandbox/SOC/2010/process/boost/process/detail/basic_status_service.hpp | 2 +-
   sandbox/SOC/2010/process/boost/process/stream_behavior.hpp | 10 +++++-----
   2 files changed, 6 insertions(+), 6 deletions(-)

Modified: sandbox/SOC/2010/process/boost/process/detail/basic_status_service.hpp
==============================================================================
--- sandbox/SOC/2010/process/boost/process/detail/basic_status_service.hpp (original)
+++ sandbox/SOC/2010/process/boost/process/detail/basic_status_service.hpp 2010-08-27 14:57:22 EDT (Fri, 27 Aug 2010)
@@ -94,7 +94,7 @@
 
     void construct(implementation_type &impl)
     {
- impl = boost::make_shared<StatusImplementation>(StatusImplementation());
+ impl = boost::make_shared<StatusImplementation>();
         boost::unique_lock<boost::mutex> lock(work_thread_mutex_);
         impls_.push_back(impl);
     }

Modified: sandbox/SOC/2010/process/boost/process/stream_behavior.hpp
==============================================================================
--- sandbox/SOC/2010/process/boost/process/stream_behavior.hpp (original)
+++ sandbox/SOC/2010/process/boost/process/stream_behavior.hpp 2010-08-27 14:57:22 EDT (Fri, 27 Aug 2010)
@@ -62,7 +62,7 @@
      */
     static boost::shared_ptr<stream> create()
     {
- return boost::make_shared<stream>(stream());
+ return boost::make_shared<stream>();
     }
 
     /**
@@ -114,7 +114,7 @@
 
     static boost::shared_ptr<inherit> create(handle::native_type child_end)
     {
- return boost::make_shared<inherit>(inherit(child_end));
+ return boost::make_shared<inherit>(child_end);
     }
 
     handle get_child_end()
@@ -163,7 +163,7 @@
 
     static boost::shared_ptr<behavior::pipe> create(stream_type stream)
     {
- return boost::make_shared<pipe>(pipe(stream));
+ return boost::make_shared<pipe>(stream);
     }
 
     handle get_child_end()
@@ -263,7 +263,7 @@
     static boost::shared_ptr<named_pipe> create(stream_type stream,
         std::string *name = 0)
     {
- return boost::make_shared<named_pipe>(named_pipe(stream, name));
+ return boost::make_shared<named_pipe>(stream, name);
     }
 
     handle get_child_end()
@@ -316,7 +316,7 @@
 
     static boost::shared_ptr<dummy> create(stream_type stream)
     {
- return boost::make_shared<dummy>(dummy(stream));
+ return boost::make_shared<dummy>(stream);
     }
 
     handle get_child_end()


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