From f3a9ee0d916620158a5012435c7ce0ec59db1cd1 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 2 Jan 2022 07:12:14 +0100 Subject: [PATCH] do_task: add a constructor --- do_task.h | 1 + 1 file changed, 1 insertion(+) diff --git a/do_task.h b/do_task.h index e54da45..05294cf 100644 --- a/do_task.h +++ b/do_task.h @@ -13,6 +13,7 @@ private: std::timed_mutex do_sleep; std::thread th; public: + DoTask() noexcept; ~DoTask() noexcept; auto thread_pls(const std::chrono::seconds& interval,