mirror of
https://github.com/Naios/continuable.git
synced 2026-02-08 02:36:40 +08:00
Remove the template args from the void make_ready_continuable
This commit is contained in:
parent
b293d9a342
commit
577b71b8ab
@ -863,11 +863,7 @@ constexpr auto make_continuable(Continuation&& continuation) {
|
|||||||
/// function calls.
|
/// function calls.
|
||||||
///
|
///
|
||||||
/// \since 3.0.0
|
/// \since 3.0.0
|
||||||
template <typename... Args>
|
inline auto make_ready_continuable() {
|
||||||
auto make_ready_continuable() {
|
|
||||||
static_assert(
|
|
||||||
sizeof...(Args) == 0,
|
|
||||||
"make_ready_continuable with void continuables requires zero args!");
|
|
||||||
return make_continuable<void>(detail::base::ready_continuable<>());
|
return make_continuable<void>(detail::base::ready_continuable<>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user