diff options
author | George Hazan <ghazan@miranda.im> | 2018-02-21 18:29:19 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-02-21 18:40:13 +0300 |
commit | 877a1c362c0b106b251cf353f77397d1b5b08b42 (patch) | |
tree | 0291da0a01fbc8428fb1e544567a398d1e33add7 /plugins/Clist_modern/src/modern_skinengine.cpp | |
parent | fb9f17d1290be657ea8cc85dd02c8419cad1d9c4 (diff) |
Clist_Modern: C++'11 iterators
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinengine.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_skinengine.cpp b/plugins/Clist_modern/src/modern_skinengine.cpp index 74145c1734..9ac08875bd 100644 --- a/plugins/Clist_modern/src/modern_skinengine.cpp +++ b/plugins/Clist_modern/src/modern_skinengine.cpp @@ -415,8 +415,8 @@ int SkinEngineUnloadModule() mir_free_and_nil(g_SkinObjectList.pMaskList); mir_free_and_nil(MainModernMaskList); - for (int i = 0; i < arEffectStack.getCount(); i++) - mir_free(arEffectStack[i]); + for (auto &it : arEffectStack) + mir_free(it); arEffectStack.destroy(); if (g_pCachedWindow) { |