]> git.stg.codes - stg.git/commitdiff
Fix prefix incremental operator to postfix
authorMaxim Mamontov <faust.madf@gmail.com>
Mon, 21 Mar 2011 14:25:52 +0000 (16:25 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Mon, 21 Mar 2011 14:25:52 +0000 (16:25 +0200)
projects/stargazer/plugins/other/ping/ping.cpp

index 169ac61df986af04f29df2fc5a8605f4c674bd76..f9fc387aa11f27dc1810e95f89e2c4629bbbaf16 100644 (file)
@@ -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;
     }
 }
 //-----------------------------------------------------------------------------