mirror of
https://github.com/boltgolt/howdy.git
synced 2024-09-19 09:51:19 +02:00
Fix header
This commit is contained in:
parent
8eefb6825f
commit
ea933e3255
1 changed files with 1 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue