diff --git a/include/boost/algorithm/string/iter_find.hpp b/include/boost/algorithm/string/iter_find.hpp index f7866a7..32f4ced 100644 --- a/include/boost/algorithm/string/iter_find.hpp +++ b/include/boost/algorithm/string/iter_find.hpp @@ -88,6 +88,7 @@ namespace boost { make_transform_iterator( find_iterator_type( begin(Input), InputEnd, Finder ), copy_range_type()); + transform_iter_type itEnd= make_transform_iterator( find_iterator_type(), diff --git a/include/boost/algorithm/string/iterator_range.hpp b/include/boost/algorithm/string/iterator_range.hpp index 3e27661..bdc01a0 100644 --- a/include/boost/algorithm/string/iterator_range.hpp +++ b/include/boost/algorithm/string/iterator_range.hpp @@ -74,7 +74,7 @@ namespace boost { typedef IteratorT iterator; //! Default constructor - iterator_range() {} + iterator_range() : m_Begin(), m_End() {} //! Constructor from a pair of iterators iterator_range( iterator Begin, iterator End ) :