diff --git a/libs/async/include/psemek/async/executor.hpp b/libs/async/include/psemek/async/executor.hpp index 9eb3e6f9..79600206 100644 --- a/libs/async/include/psemek/async/executor.hpp +++ b/libs/async/include/psemek/async/executor.hpp @@ -135,10 +135,11 @@ namespace psemek::async std::future f_; }; + using clock = std::chrono::high_resolution_clock; + struct executor { using task = util::function; - using clock = std::chrono::high_resolution_clock; // Post the task for execution. Where and when will // it be executed is up to a concrete executor, as