From 362678728b8232c9490e14ba14ff323d9a92d6be Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Fri, 27 Jun 2008 21:00:41 +0000 Subject: made gcc 4.3 a bit happier Signed-off-by: Michael Krelin --- (limited to 'include/opkele') diff --git a/include/opkele/iterator.h b/include/opkele/iterator.h index 28c1c83..8f86234 100644 --- a/include/opkele/iterator.h +++ b/include/opkele/iterator.h @@ -155,7 +155,7 @@ namespace opkele { basic_filterator& operator++() { bool found = false; - for(++it;!(it==ei || (found=is_interesting()));++it); + for(++it;!(it==ei || (found=is_interesting()));++it) ; if(!found) empty=true; return *this; } @@ -167,7 +167,7 @@ namespace opkele { void prepare() { bool found = false; - for(;!(it==ei || (found=is_interesting()));++it); + for(;!(it==ei || (found=is_interesting()));++it) ; if(!found) empty = true; } virtual bool is_interesting() const = 0; -- cgit v0.9.0.2