summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraProto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MRA/src/MraProto.cpp')
-rw-r--r--protocols/MRA/src/MraProto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp
index 980313d4fd..03cd7f2336 100644
--- a/protocols/MRA/src/MraProto.cpp
+++ b/protocols/MRA/src/MraProto.cpp
@@ -2,8 +2,8 @@
static int MraExtraIconsApplyAll(WPARAM, LPARAM)
{
- for (int i = 0; i < g_Instances.getCount(); i++)
- g_Instances[i]->MraExtraIconsApply(0, 0);
+ for (auto &it : g_Instances)
+ it->MraExtraIconsApply(0, 0);
return 0;
}