diff options
Diffstat (limited to 'aisa/coroutine.h')
| -rw-r--r-- | aisa/coroutine.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/aisa/coroutine.h b/aisa/coroutine.h index 40a6982..a456c89 100644 --- a/aisa/coroutine.h +++ b/aisa/coroutine.h | |||
| @@ -4,8 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | namespace aisa { | 5 | namespace aisa { |
| 6 | 6 | ||
| 7 | inline auto suspend() noexcept { return std::suspend_always{}; } | ||
| 8 | |||
| 9 | template<typename result_t> struct promise; | 7 | template<typename result_t> struct promise; |
| 10 | 8 | ||
| 11 | template<typename result_t> struct task : public std::coroutine_handle<promise<result_t>> { | 9 | template<typename result_t> struct task : public std::coroutine_handle<promise<result_t>> { |
