summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/actions.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-02-21 18:33:08 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-02-21 18:40:14 +0300
commitba75602b16e4b9b484c2c05f70c117f612c81e1d (patch)
treec19e7066ece1d545437bd8482af888660e54e0d8 /plugins/Popup/src/actions.cpp
parent95ce21d8512af00a4c5f607091a459b789f79b79 (diff)
Popup+: C++'11 iterators
Diffstat (limited to 'plugins/Popup/src/actions.cpp')
-rw-r--r--plugins/Popup/src/actions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Popup/src/actions.cpp b/plugins/Popup/src/actions.cpp
index 181297e265..480c2ac5be 100644
--- a/plugins/Popup/src/actions.cpp
+++ b/plugins/Popup/src/actions.cpp
@@ -51,8 +51,8 @@ void LoadActions()
void UnloadActions()
{
- for (int i = 0; i < gActions.getCount(); ++i)
- delete gActions[i];
+ for (auto &it : gActions)
+ delete it;
gActions.destroy();
}