]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/ping/ping.cpp
Initialiaze some class members
[stg.git] / projects / stargazer / plugins / other / ping / ping.cpp
index 169ac61df986af04f29df2fc5a8605f4c674bd76..6a04c6fe9c2eff8ca8d93b387d8ed14ca73ee159 100644 (file)
@@ -8,7 +8,6 @@
 #include "user.h"
 #include "stg_locker.h"
 #include "user_property.h"
 #include "user.h"
 #include "stg_locker.h"
 #include "user_property.h"
-#include "../../../settings.h"
 
 class PING_CREATOR
 {
 
 class PING_CREATOR
 {
@@ -207,7 +206,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 +253,7 @@ while (ping->nonstop)
                         }
                     }
                 }
                         }
                     }
                 }
-            iter++;
+            ++iter;
             }
         }
     for (int i = 0; i < 100; i++)
             }
         }
     for (int i = 0; i < 100; i++)
@@ -381,7 +380,7 @@ while (users_iter != usersList.end())
         usersList.erase(users_iter);
         break;
         }
         usersList.erase(users_iter);
         break;
         }
-    users_iter++;
+    ++users_iter;
     }
 }
 //-----------------------------------------------------------------------------
     }
 }
 //-----------------------------------------------------------------------------