]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/ping/ping.cpp
Fix prefix incremental operator to postfix
[stg.git] / projects / stargazer / plugins / other / ping / ping.cpp
index 3067e87ec480060dc79b4f211ce85aba32a722cc..f9fc387aa11f27dc1810e95f89e2c4629bbbaf16 100644 (file)
@@ -7,8 +7,8 @@
 #include "ping.h"
 #include "user.h"
 #include "stg_locker.h"
 #include "ping.h"
 #include "user.h"
 #include "stg_locker.h"
+#include "user_property.h"
 #include "../../../settings.h"
 #include "../../../settings.h"
-#include "../../../user_property.h"
 
 class PING_CREATOR
 {
 
 class PING_CREATOR
 {
@@ -207,7 +207,7 @@ users_iter = usersList.begin();
 while (users_iter != usersList.end())
     {
     UnSetUserNotifiers(*users_iter);
 while (users_iter != usersList.end())
     {
     UnSetUserNotifiers(*users_iter);
-    users_iter++;
+    ++users_iter;
     }
 
 return 0;
     }
 
 return 0;
@@ -254,7 +254,7 @@ while (ping->nonstop)
                         }
                     }
                 }
                         }
                     }
                 }
-            iter++;
+            ++iter;
             }
         }
     for (int i = 0; i < 100; i++)
             }
         }
     for (int i = 0; i < 100; i++)
@@ -381,7 +381,7 @@ while (users_iter != usersList.end())
         usersList.erase(users_iter);
         break;
         }
         usersList.erase(users_iter);
         break;
         }
-    users_iter++;
+    ++users_iter;
     }
 }
 //-----------------------------------------------------------------------------
     }
 }
 //-----------------------------------------------------------------------------