From: Maxim Mamontov Date: Mon, 21 Mar 2011 14:25:52 +0000 (+0200) Subject: Fix prefix incremental operator to postfix X-Git-Tag: 2.407-rc3~129 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/3dafc0ac1f88afe3ef0d722f812db5c343143828 Fix prefix incremental operator to postfix --- diff --git a/projects/stargazer/plugins/other/ping/ping.cpp b/projects/stargazer/plugins/other/ping/ping.cpp index 169ac61d..f9fc387a 100644 --- a/projects/stargazer/plugins/other/ping/ping.cpp +++ b/projects/stargazer/plugins/other/ping/ping.cpp @@ -207,7 +207,7 @@ users_iter = usersList.begin(); while (users_iter != usersList.end()) { UnSetUserNotifiers(*users_iter); - users_iter++; + ++users_iter; } return 0; @@ -254,7 +254,7 @@ while (ping->nonstop) } } } - iter++; + ++iter; } } for (int i = 0; i < 100; i++) @@ -381,7 +381,7 @@ while (users_iter != usersList.end()) usersList.erase(users_iter); break; } - users_iter++; + ++users_iter; } } //-----------------------------------------------------------------------------