git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove virtual destructor from plugin interface
[stg.git]
/
projects
/
stargazer
/
users_impl.cpp
diff --git
a/projects/stargazer/users_impl.cpp
b/projects/stargazer/users_impl.cpp
index 3384c6602ce48ecb3a273ff1744df1c77db67f43..d2c9d7ccc5d4f34fffa3a7267eb399a72365e473 100644
(file)
--- a/
projects/stargazer/users_impl.cpp
+++ b/
projects/stargazer/users_impl.cpp
@@
-336,7
+336,7
@@
while (ui != us->users.end())
{
us->UnSetUserNotifiers(ui);
us->DelUserFromIndexes(ui);
{
us->UnSetUserNotifiers(ui);
us->DelUserFromIndexes(ui);
-
ui++
;
+
++ui
;
}
list<USER_TO_DEL>::iterator iter;
}
list<USER_TO_DEL>::iterator iter;
@@
-373,7
+373,7
@@
if (TimeToWriteDetailStat(t))
{
usersCnt++;
usr->WriteDetailStat();
{
usersCnt++;
usr->WriteDetailStat();
-
usr++
;
+
++usr
;
if (usersCnt % 10 == 0)
for_each(users.begin(), users.end(), mem_fun_ref(&USER_IMPL::Run));
}
if (usersCnt % 10 == 0)
for_each(users.begin(), users.end(), mem_fun_ref(&USER_IMPL::Run));
}
@@
-710,7
+710,7
@@
while (bi != userIPNotifiersBefore.end())
//printfd(__FILE__, "Notifier Before removed. User %s\n", bi->GetUser()->GetLogin().c_str());
break;
}
//printfd(__FILE__, "Notifier Before removed. User %s\n", bi->GetUser()->GetLogin().c_str());
break;
}
-
bi++
;
+
++bi
;
}
ai = userIPNotifiersAfter.begin();
}
ai = userIPNotifiersAfter.begin();
@@
-723,7
+723,7
@@
while (ai != userIPNotifiersAfter.end())
//printfd(__FILE__, "Notifier After removed. User %s\n", ai->GetUser()->GetLogin().c_str());
break;
}
//printfd(__FILE__, "Notifier After removed. User %s\n", ai->GetUser()->GetLogin().c_str());
break;
}
-
ai++
;
+
++ai
;
}
}
//-----------------------------------------------------------------------------
}
}
//-----------------------------------------------------------------------------