From 42c2c4e6a4f18d2a44f006769c6eeacaff85a4bc Mon Sep 17 00:00:00 2001 From: mat007 Date: Sun, 12 May 2013 08:59:11 +0000 Subject: [PATCH] Cleanup git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@647 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/log.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/turtle/log.hpp b/turtle/log.hpp index 4d73950..86f13bd 100644 --- a/turtle/log.hpp +++ b/turtle/log.hpp @@ -113,27 +113,27 @@ namespace detail return s; } template< typename T > - stream& operator<<( stream& s, boost::reference_wrapper< T > t ) + stream& operator<<( stream& s, const boost::reference_wrapper< T >& t ) { return s << mock::format( t.get() ); } template< typename T > - stream& operator<<( stream& s, boost::shared_ptr< T > t ) + stream& operator<<( stream& s, const boost::shared_ptr< T >& t ) { return s << mock::format( t.get() ); } template< typename T > - stream& operator<<( stream& s, boost::weak_ptr< T > t ) + stream& operator<<( stream& s, const boost::weak_ptr< T >& t ) { return s << mock::format( t.lock() ); } template< typename T > - stream& operator<<( stream& s, boost::lambda::lambda_functor< T > ) + stream& operator<<( stream& s, const boost::lambda::lambda_functor< T >& ) { return s << '?'; } template< typename T > - stream& operator<<( stream& s, boost::phoenix::actor< T > ) + stream& operator<<( stream& s, const boost::phoenix::actor< T >& ) { return s << '?'; }