From 9c859bae5efafb439ee1ae396c2ca050d34a7de0 Mon Sep 17 00:00:00 2001 From: mat007 Date: Sat, 26 Apr 2014 07:06:13 +0000 Subject: [PATCH] Cleanup git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@719 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/detail/expectation_base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );