Remove the template args from the void make_ready_continuable

This commit is contained in:
Denis Blank 2018-12-08 01:28:27 +01:00
parent b293d9a342
commit 577b71b8ab

View File

@ -863,11 +863,7 @@ constexpr auto make_continuable(Continuation&& continuation) {
/// function calls.
///
/// \since 3.0.0
template <typename... Args>
auto make_ready_continuable() {
static_assert(
sizeof...(Args) == 0,
"make_ready_continuable with void continuables requires zero args!");
inline auto make_ready_continuable() {
return make_continuable<void>(detail::base::ready_continuable<>());
}