diff --git a/switcher-data-structs.hpp b/switcher-data-structs.hpp index 30e62ff6..1d1b13f6 100644 --- a/switcher-data-structs.hpp +++ b/switcher-data-structs.hpp @@ -151,7 +151,6 @@ struct IdleData - struct SwitcherData { thread th; @@ -183,7 +182,14 @@ struct SwitcherData FileIOData fileIO; IdleData idleData; vector ignoreIdleWindows; - vector functionNamesByPriority; + vector functionNamesByPriority = vector{ + string(DEFAULT_PRIORITY_0), + string(DEFAULT_PRIORITY_1), + string(DEFAULT_PRIORITY_2), + string(DEFAULT_PRIORITY_3), + string(DEFAULT_PRIORITY_4), + string(DEFAULT_PRIORITY_5), + }; void Thread(); void Start();