diff --git a/src/timer.cpp b/src/timer.cpp index e90b8de0..ea7923b8 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -3,7 +3,7 @@ #include "global.hpp" -void _app_timer_create (HWND hwnd, const MFILTER_APPS *ptr_apps, time_t seconds) +void _app_timer_create (HWND hwnd, MFILTER_APPS *ptr_apps, time_t seconds) { if (!config.hengine || !ptr_apps || ptr_apps->empty ()) return; @@ -55,7 +55,7 @@ void _app_timer_create (HWND hwnd, const MFILTER_APPS *ptr_apps, time_t seconds) _wfp_create3filters (ptr_apps, __LINE__); } -size_t _app_timer_remove (HWND hwnd, const MFILTER_APPS *ptr_apps) +size_t _app_timer_remove (HWND hwnd, MFILTER_APPS *ptr_apps) { if (!config.hengine || !ptr_apps || ptr_apps->empty ()) return false; diff --git a/src/timer.hpp b/src/timer.hpp index 6d0dd63e..239a8326 100644 --- a/src/timer.hpp +++ b/src/timer.hpp @@ -3,8 +3,8 @@ #pragma once -void _app_timer_create (HWND hwnd, const MFILTER_APPS* ptr_apps, time_t seconds); -size_t _app_timer_remove (HWND hwnd, const MFILTER_APPS* ptr_apps); +void _app_timer_create (HWND hwnd, MFILTER_APPS* ptr_apps, time_t seconds); +size_t _app_timer_remove (HWND hwnd, MFILTER_APPS* ptr_apps); bool _app_istimeractive (ITEM_APP const *ptr_app); bool _app_istimersactive ();