diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_timers.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_timers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_timers.cpp b/protocols/SkypeWeb/src/skype_timers.cpp index 5eaae097f2..7004188d76 100644 --- a/protocols/SkypeWeb/src/skype_timers.cpp +++ b/protocols/SkypeWeb/src/skype_timers.cpp @@ -31,8 +31,8 @@ void CSkypeProto::ProcessTimer() void CALLBACK CSkypeProto::TimerProc(HWND, UINT, UINT_PTR, DWORD)
{
mir_cslock lck(accountsLock);
- for (int i = 0; i < Accounts.getCount(); i++)
- Accounts[i]->ProcessTimer();
+ for (auto &it : Accounts)
+ it->ProcessTimer();
}
void CSkypeProto::SkypeSetTimer()
|