diff options
author | George Hazan <ghazan@miranda.im> | 2018-02-21 18:29:48 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-02-21 18:40:13 +0300 |
commit | 9ceaf3659acce44d579c2db5b29d4b48dfe893f2 (patch) | |
tree | 5f1dc306e59c567c4d857d3e7519299c85941206 /plugins/Clist_nicer/src/clc.cpp | |
parent | 877a1c362c0b106b251cf353f77397d1b5b08b42 (diff) |
Clist_Nicer: C++'11 iterators
Diffstat (limited to 'plugins/Clist_nicer/src/clc.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/clc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/clc.cpp b/plugins/Clist_nicer/src/clc.cpp index 289c3b4ce8..a19b8307cc 100644 --- a/plugins/Clist_nicer/src/clc.cpp +++ b/plugins/Clist_nicer/src/clc.cpp @@ -194,8 +194,8 @@ int ClcShutdown(WPARAM, LPARAM) CSH_Destroy();
IMG_DeleteItems();
- for (int i = 0; i < arStatusItems.getCount(); i++)
- mir_free(arStatusItems[i]);
+ for (auto &it : arStatusItems)
+ mir_free(it);
return 0;
}
|