diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-12-29 17:50:16 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-12-29 17:50:16 +0000 |
commit | 4c506f7bcb8651fa2364d324b395e33171e6352d (patch) | |
tree | 88486925a980d17e9ab630741dab367075efb04b /plugins/Toaster/src/services.cpp | |
parent | 79cd4ccc87c8a4f380bd29139c71c0995e565913 (diff) |
Toaster: code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@15965 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/services.cpp')
-rw-r--r-- | plugins/Toaster/src/services.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp index 16c89edcb1..100a2387cf 100644 --- a/plugins/Toaster/src/services.cpp +++ b/plugins/Toaster/src/services.cpp @@ -181,9 +181,7 @@ static INT_PTR UnRegisterClass(WPARAM, LPARAM lParam) void CleanupClasses()
{
for (auto it = mp_Classes.begin(); it != mp_Classes.end(); ++it)
- {
delete it->second;
- }
mp_Classes.clear();
}
@@ -246,9 +244,7 @@ static INT_PTR HideToast(WPARAM, LPARAM lParam) {
ToastNotification* pNotification = reinterpret_cast<ToastNotification*>(lParam);
if (lstNotifications.getIndex(pNotification) != -1)
- {
lstNotifications.remove(pNotification);
- }
return 0;
}
void __stdcall HideAllToasts(void*)
|