0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-12 09:41:18 +02:00

Fix header

This commit is contained in:
boltgolt 2023-02-19 09:57:45 +01:00
parent 8eefb6825f
commit ea933e3255
No known key found for this signature in database
GPG key ID: BECEC9937E1AAE26

View file

@ -26,8 +26,7 @@ public:
template <typename T>
optional_task<T>::optional_task(std::function<T()> func)
: task(std::packaged_task<T()>(std::move(func))), future(task.get_future()),
spawned(), is_active() {}
: task(std::packaged_task<T()>(std::move(func))), future(task.get_future()) {}
// Create a new thread and launch the task on it.
template <typename T> void optional_task<T>::activate() {