From ad84840faf7ff04658070e9f97b6d5987020ec2a Mon Sep 17 00:00:00 2001
From: Florian Fischer <florian.fischer@muhq.space>
Date: Sat, 1 May 2021 12:28:57 +0200
Subject: [PATCH] [WorkerSleepStrategy] call the correct implementation method

---
 emper/sleep_strategy/AbstractWorkerSleepStrategy.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emper/sleep_strategy/AbstractWorkerSleepStrategy.hpp b/emper/sleep_strategy/AbstractWorkerSleepStrategy.hpp
index 9f083f93..335cc426 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>
-- 
GitLab