From 4f8f07671409da25d68e35126f29e43278fa9fca Mon Sep 17 00:00:00 2001 From: patrick96 Date: Thu, 30 Sep 2021 15:27:39 +0200 Subject: [PATCH] Remove atomic members from static modules --- include/modules/menu.hpp | 2 +- include/modules/xbacklight.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/modules/menu.hpp b/include/modules/menu.hpp index 50f80feb..9d414ed7 100644 --- a/include/modules/menu.hpp +++ b/include/modules/menu.hpp @@ -45,7 +45,7 @@ namespace modules { vector> m_levels; - std::atomic m_level{-1}; + int m_level{-1}; }; } // namespace modules diff --git a/include/modules/xbacklight.hpp b/include/modules/xbacklight.hpp index 269b4244..796a590e 100644 --- a/include/modules/xbacklight.hpp +++ b/include/modules/xbacklight.hpp @@ -57,7 +57,7 @@ namespace modules { progressbar_t m_progressbar; bool m_scroll{true}; - std::atomic m_percentage{0}; + int m_percentage{0}; }; } // namespace modules