diff options
author | George Hazan <ghazan@miranda.im> | 2018-02-21 18:35:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-02-21 18:40:14 +0300 |
commit | 058282527241fe458a1aae28d565a727dcc1a811 (patch) | |
tree | 7b5d5a1a5abe8052cd9879af19135df5f58a363d /plugins/UserInfoEx/src/Flags | |
parent | 429c0d0524e7197a593209468fef530344f5ee05 (diff) |
UInfoEx: C++'11 iterators
Diffstat (limited to 'plugins/UserInfoEx/src/Flags')
-rw-r--r-- | plugins/UserInfoEx/src/Flags/svc_flags.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/Flags/svc_flags.cpp b/plugins/UserInfoEx/src/Flags/svc_flags.cpp index 32f63aea4d..d0ecb3c5a7 100644 --- a/plugins/UserInfoEx/src/Flags/svc_flags.cpp +++ b/plugins/UserInfoEx/src/Flags/svc_flags.cpp @@ -119,8 +119,8 @@ void UpdateStatusIcons() Srmm_ModifyIcon(NULL, &sid);
/* enum all opened message windows */
- for (int i = 0; i < gMsgWndList.getCount(); i++)
- gMsgWndList[i]->FlagsIconSet();
+ for (auto &it : gMsgWndList)
+ it->FlagsIconSet();
}
//hookProc ME_MSG_WINDOWEVENT
|