From ea6ca22e3f38a6710f6a6f126bd71585852e28fb Mon Sep 17 00:00:00 2001 From: Neil Groves Date: Mon, 3 Mar 2014 15:00:42 +0000 Subject: [PATCH] trac 7188 c4127 warning in the equal function. --- include/boost/range/algorithm/equal.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/range/algorithm/equal.hpp b/include/boost/range/algorithm/equal.hpp index 36d768f..2b44f3b 100644 --- a/include/boost/range/algorithm/equal.hpp +++ b/include/boost/range/algorithm/equal.hpp @@ -31,7 +31,7 @@ namespace boost IteratorCategoryTag1, IteratorCategoryTag2 ) { - while (true) + for (;;) { // If we have reached the end of the left range then this is // the end of the loop. They are equal if and only if we have @@ -71,7 +71,7 @@ namespace boost IteratorCategoryTag1, IteratorCategoryTag2 ) { - while (true) + for (;;) { // If we have reached the end of the left range then this is // the end of the loop. They are equal if and only if we have