summaryrefslogtreecommitdiff
path: root/plugins/StatusManager/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusManager/src/main.cpp')
-rw-r--r--plugins/StatusManager/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StatusManager/src/main.cpp b/plugins/StatusManager/src/main.cpp
index 651123f71c..5d5db295e3 100644
--- a/plugins/StatusManager/src/main.cpp
+++ b/plugins/StatusManager/src/main.cpp
@@ -105,7 +105,7 @@ int OnAccChanged(WPARAM wParam, LPARAM lParam)
case PRAC_REMOVED:
for (auto &it : protoList) {
if (!mir_strcmp(it->m_szName, pa->szModuleName)) {
- protoList.remove(it);
+ protoList.removeItem(&it);
break;
}
}