Skip to content
Snippets Groups Projects
Commit 39e07531 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Merge branch 'fix_AbstractWorkerSleepStrategy' into 'master'

[WorkerSleepStrategy] call the correct implementation method

See merge request !184
parents 3ab70f90 ad84840f
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ static constexpr bool needsNotifySpecific = ...@@ -14,7 +14,7 @@ static constexpr bool needsNotifySpecific =
template <class T> template <class T>
class AbstractWorkerSleepStrategy { class AbstractWorkerSleepStrategy {
[[nodiscard]] inline auto getSleeping() const -> long { [[nodiscard]] inline auto getSleeping() const -> long {
return static_cast<T*>(this)->getValue(); return static_cast<T*>(this)->getSleeping();
} }
template <CallerEnvironment callerEnvironment> template <CallerEnvironment callerEnvironment>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment