author | Michael Krelin <hacker@klever.net> | 2014-03-05 21:13:36 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2014-03-05 21:13:36 (UTC) |
commit | 00cf4285fb0539873754f23a654b9cd13ae29af4 (patch) (side-by-side diff) | |
tree | 67c80f2ea5c548d8ff06e9997fd00ddff1db3a50 /include | |
parent | 5b6756787fb7005b98ad43fb875fbaa0d33a5e88 (diff) | |
download | libopkele-00cf4285fb0539873754f23a654b9cd13ae29af4.zip libopkele-00cf4285fb0539873754f23a654b9cd13ae29af4.tar.gz libopkele-00cf4285fb0539873754f23a654b9cd13ae29af4.tar.bz2 |
remove post-increment implementation as it is awfully invalid
as per github issue #5
-rw-r--r-- | include/opkele/iterator.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/opkele/iterator.h b/include/opkele/iterator.h index 94da7e4..9e5b196 100644 --- a/include/opkele/iterator.h +++ b/include/opkele/iterator.h @@ -158,13 +158,8 @@ namespace opkele { for(++it;!(it==ei || (found=is_interesting()));++it) ; if(!found) empty=true; return *this; } - basic_filterator<IT> operator++(int) { - basic_filterator<IT> rv(*this); - ++(*this); - return rv; - } void prepare() { bool found = false; for(;!(it==ei || (found=is_interesting()));++it) ; |