diff --git a/src/libraries/turtle/log.hpp b/src/libraries/turtle/log.hpp index b7c43e2..46a7077 100644 --- a/src/libraries/turtle/log.hpp +++ b/src/libraries/turtle/log.hpp @@ -66,8 +66,8 @@ namespace detail3 virtual void serialize( std::ostream& s ) const { // if an error about an ambiguous conversion is generated by the - // line below it means the easiest solution is likely to be to add - // a serialization operator to a mock::stream for T + // line below the solution is to add a serialization operator to a + // mock::stream for T s << *t_; } const T* t_; @@ -106,7 +106,8 @@ namespace detail3 template< typename T > BOOST_DEDUCED_TYPENAME boost::disable_if< - boost::function_types::is_callable_builtin< T >, stream& + boost::function_types::is_callable_builtin< T >, + stream& >::type operator<<( stream& s, const T& t ) { @@ -123,8 +124,8 @@ namespace detail2 void serialize( stream& s, const T& t ) { // if an error about an ambiguous conversion is generated by the - // line below it means the easiest solution is likely to be to add - // a serialization operator to a mock::stream for T + // line below the solution is to add a serialization operator to a + // mock::stream for T s << t; } inline void serialize( stream& s, bool b ) @@ -136,7 +137,7 @@ namespace detail2 { s << '"' << str << '"'; } - inline void serialize( stream& s, const char* str ) + inline void serialize( stream& s, const char* const str ) { s << '"' << str << '"'; }