diff options
| author | Julian Blake Kongslie | 2022-06-25 19:30:03 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-06-25 19:30:03 -0700 |
| commit | 1ecef319d7c8a07073fb37c3b88e3ccce8c94c97 (patch) | |
| tree | e08c68a34be268febf6e2d999ea420e21ae34a7b /aisa/coroutine.h | |
| parent | Reorganize Makefile. (diff) | |
| download | issim-1ecef319d7c8a07073fb37c3b88e3ccce8c94c97.tar.xz | |
Remove aisa::suspend() which was trivial.
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>> { |
