summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/VoiceService/src/hooks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/VoiceService/src/hooks.cpp b/plugins/VoiceService/src/hooks.cpp
index 007208b8fa..fb03ef57cc 100644
--- a/plugins/VoiceService/src/hooks.cpp
+++ b/plugins/VoiceService/src/hooks.cpp
@@ -259,8 +259,8 @@ static int PreBuildContactMenu(WPARAM wParam, LPARAM)
Menu_ShowItem(hCMAnswer, false);
Menu_ShowItem(hCMHold, false);
Menu_ShowItem(hCMDrop, false);
- for (unsigned int i = 0; i < hCMCalls.size(); ++i)
- Menu_ShowItem(hCMCalls[i], false);
+ for (auto &it : hCMCalls)
+ Menu_ShowItem(it, false);
MCONTACT hContact = (MCONTACT)wParam;
if (hContact == NULL)