Replaced new with boost::make_shared

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@634 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-05-03 20:16:50 +00:00
parent 26540da771
commit 4ee2837dcd
7 changed files with 23 additions and 25 deletions

View file

@ -11,7 +11,7 @@
#include "config.hpp"
#include "detail/sequence_impl.hpp"
#include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp>
namespace mock
{
@ -19,7 +19,7 @@ namespace mock
{
public:
sequence()
: impl_( new detail::sequence_impl() )
: impl_( boost::make_shared< detail::sequence_impl >() )
{}
boost::shared_ptr< detail::sequence_impl > impl_;