diff options
author | Oskar <[email protected]> | 2024-10-15 18:31:11 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-10-15 18:31:11 +0200 |
commit | 1462c1a161b3e986e066da92638fc3e9813498d4 (patch) | |
tree | 3a8e9102a45cd5bcb43689355d609d596bbe0321 | |
parent | 7db4642f463244fdbacd2b20f261398c9de38fd9 (diff) |
more
-rw-r--r-- | 9p27.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -17,8 +17,7 @@ int main () { auto bbeg = flst.before_begin(); auto beg = flst.begin(); - auto end = flst.cend(); - while(beg != end) { + while(beg != flst.cend()) { if(*beg % 2 == 1) { beg = flst.erase_after(bbeg); } else { |