mirror of
https://github.com/Naios/continuable.git
synced 2026-01-01 03:12:12 +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.
|
||||
///
|
||||
/// \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<>());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user