From 058282527241fe458a1aae28d565a727dcc1a811 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 21 Feb 2018 18:35:40 +0300 Subject: UInfoEx: C++'11 iterators --- plugins/UserInfoEx/src/Flags/svc_flags.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/UserInfoEx/src/Flags') 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 -- cgit v1.2.3