From 6fb58192d7dd592069c393ed4407c89c0c204f32 Mon Sep 17 00:00:00 2001 From: Pavol Droba Date: Mon, 23 Aug 2004 18:52:36 +0000 Subject: [PATCH] Fix fix [SVN r24678] --- include/boost/algorithm/string/detail/replace_storage.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/algorithm/string/detail/replace_storage.hpp b/include/boost/algorithm/string/detail/replace_storage.hpp index 4d8f1e6..98bfa42 100644 --- a/include/boost/algorithm/string/detail/replace_storage.hpp +++ b/include/boost/algorithm/string/detail/replace_storage.hpp @@ -125,7 +125,7 @@ namespace boost { ForwardIteratorT SegmentEnd ) { - if(InsertIt!=SegmentEnd) + if(InsertIt!=SegmentBegin) { // Call replace to do the job replace( Input, InsertIt, SegmentBegin, Storage );