Loading src/thread-pool/thread-pool.hpp +4 −4 Original line number Diff line number Diff line Loading @@ -66,10 +66,10 @@ class pool { : m_func(std::move(func)) {} ~task() override = default; task(const task& rhs) = delete; task& operator=(const task& rhs) = delete; task(task&& other) = default; task& operator=(task&& other) = default; task(const task& /*rhs*/) = delete; task& operator=(const task& /*rhs*/) = delete; task(task&& /*other*/) = default; task& operator=(task&& /*other*/) = default; void execute() override { m_func(); Loading Loading
src/thread-pool/thread-pool.hpp +4 −4 Original line number Diff line number Diff line Loading @@ -66,10 +66,10 @@ class pool { : m_func(std::move(func)) {} ~task() override = default; task(const task& rhs) = delete; task& operator=(const task& rhs) = delete; task(task&& other) = default; task& operator=(task&& other) = default; task(const task& /*rhs*/) = delete; task& operator=(const task& /*rhs*/) = delete; task(task&& /*other*/) = default; task& operator=(task&& /*other*/) = default; void execute() override { m_func(); Loading