summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/cluiframes.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-02-21 18:29:48 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-02-21 18:40:13 +0300
commit9ceaf3659acce44d579c2db5b29d4b48dfe893f2 (patch)
tree5f1dc306e59c567c4d857d3e7519299c85941206 /plugins/Clist_nicer/src/cluiframes.cpp
parent877a1c362c0b106b251cf353f77397d1b5b08b42 (diff)
Clist_Nicer: C++'11 iterators
Diffstat (limited to 'plugins/Clist_nicer/src/cluiframes.cpp')
-rw-r--r--plugins/Clist_nicer/src/cluiframes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/cluiframes.cpp b/plugins/Clist_nicer/src/cluiframes.cpp
index d0aa91a8ce..97eae87e5f 100644
--- a/plugins/Clist_nicer/src/cluiframes.cpp
+++ b/plugins/Clist_nicer/src/cluiframes.cpp
@@ -1335,8 +1335,8 @@ static int CLUIFramesLoadMainMenu()
if (FramesSysNotStarted)
return -1;
- for (int i = 0; i < g_frameMenus.getCount(); i++)
- Menu_RemoveItem(g_frameMenus[i]);
+ for (auto &it : g_frameMenus)
+ Menu_RemoveItem(it);
g_frameMenus.destroy();
// create frames menu