summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SeenPlugin/src/utils.cpp')
-rw-r--r--plugins/SeenPlugin/src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp
index ef90cd1273..203c2ed258 100644
--- a/plugins/SeenPlugin/src/utils.cpp
+++ b/plugins/SeenPlugin/src/utils.cpp
@@ -47,8 +47,8 @@ void LoadWatchedProtos()
void UnloadWatchedProtos()
{
- for (int i = 0; i < arWatchedProtos.getCount(); i++)
- mir_free(arWatchedProtos[i]);
+ for (auto &it : arWatchedProtos)
+ mir_free(it);
arWatchedProtos.destroy();
}