diff --git a/turtle/detail/expectation_base.hpp b/turtle/detail/expectation_base.hpp index c5912bf..75a5c59 100644 --- a/turtle/detail/expectation_base.hpp +++ b/turtle/detail/expectation_base.hpp @@ -68,7 +68,7 @@ namespace detail (*it)->remove( this ); } - void add( boost::shared_ptr< sequence_impl > s ) + void add( const boost::shared_ptr< sequence_impl >& s ) { s->add( this ); sequences_.push_back( s );