summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_popups.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-02-21 18:37:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-02-21 18:40:14 +0300
commitb6de8047c1113030b64c81e58c2ba37c062639ae (patch)
tree046dbb4cf9e8cd2f904fef38ca86e00304605ac8 /protocols/SkypeWeb/src/skype_popups.cpp
parent40dc4c27f7d2ea66ff570281a992415a0e6578a2 (diff)
Skype: C++'11 iterators
Diffstat (limited to 'protocols/SkypeWeb/src/skype_popups.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_popups.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_popups.cpp b/protocols/SkypeWeb/src/skype_popups.cpp
index b87d31c223..64fd9b5228 100644
--- a/protocols/SkypeWeb/src/skype_popups.cpp
+++ b/protocols/SkypeWeb/src/skype_popups.cpp
@@ -41,8 +41,8 @@ void CSkypeProto::InitPopups()
void CSkypeProto::UninitPopups()
{
- for (int i = 0; i < m_PopupClasses.getCount(); i++)
- Popup_UnregisterClass(m_PopupClasses[i]);
+ for (auto &it : m_PopupClasses)
+ Popup_UnregisterClass(it);
}
void CSkypeProto::ShowNotification(const wchar_t *caption, const wchar_t *message, MCONTACT hContact, int type)