Commit 26c320d7 authored by Tom Niget's avatar Tom Niget

Revert "Add return_void to Task"

This reverts commit 79677d12.
parent 79677d12
...@@ -138,15 +138,8 @@ namespace typon ...@@ -138,15 +138,8 @@ namespace typon
_coroutine.promise()._continuation = std::noop_coroutine(); _coroutine.promise()._continuation = std::noop_coroutine();
_coroutine.resume(); _coroutine.resume();
} }
void return_void() noexcept = delete;
}; };
template <>
void Task<void>::return_void() noexcept
{
}
} }
#endif // TYPON_TASK_HPP_INCLUDED #endif // TYPON_TASK_HPP_INCLUDED
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment