diff --git a/doc/mismatch.qbk b/doc/mismatch.qbk index cf74293e..ff563989 100644 --- a/doc/mismatch.qbk +++ b/doc/mismatch.qbk @@ -60,7 +60,7 @@ mismatch ( c1.end(), c1.end(), c2.end(), c2.end()) --> OutputIterator unhex ( const T *ptr, OutputIterator out ) { - typedef typename detail::hex_iterator_traits::value_type OutputType; // If we run into the terminator while decoding, we will throw a // malformed input exception. It would be nicer to throw a 'Not enough input' // exception - but how much extra work would that require? diff --git a/include/boost/algorithm/string/trim_all.hpp b/include/boost/algorithm/string/trim_all.hpp index a616f7f3..91b55e5c 100644 --- a/include/boost/algorithm/string/trim_all.hpp +++ b/include/boost/algorithm/string/trim_all.hpp @@ -59,7 +59,7 @@ namespace boost { ::boost::find_format_all_copy( ::boost::trim_copy_if(Input, IsSpace), ::boost::token_finder(IsSpace, ::boost::token_compress_on), - ::boost::dissect_formatter(::boost::head_finder(1))); + ::boost::const_formatter(::boost::as_literal(""))); } @@ -79,7 +79,7 @@ namespace boost { ::boost::find_format_all( Input, ::boost::token_finder(IsSpace, ::boost::token_compress_on), - ::boost::dissect_formatter(::boost::head_finder(1))); + ::boost::const_formatter(::boost::as_literal(""))); }