diff --git a/emper/sleep_strategy/AbstractWorkerSleepStrategy.hpp b/emper/sleep_strategy/AbstractWorkerSleepStrategy.hpp index 9f083f93d4d6bc8418592ef52d40684d60a9e98c..335cc426f668772a70147e4d2a104516ba88d458 100644 --- a/emper/sleep_strategy/AbstractWorkerSleepStrategy.hpp +++ b/emper/sleep_strategy/AbstractWorkerSleepStrategy.hpp @@ -14,7 +14,7 @@ static constexpr bool needsNotifySpecific = template <class T> class AbstractWorkerSleepStrategy { [[nodiscard]] inline auto getSleeping() const -> long { - return static_cast<T*>(this)->getValue(); + return static_cast<T*>(this)->getSleeping(); } template <CallerEnvironment callerEnvironment>