summaryrefslogtreecommitdiff
path: root/aisa/coroutine.h
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-06-25 19:30:03 -0700
committerJulian Blake Kongslie2022-06-25 19:30:03 -0700
commit1ecef319d7c8a07073fb37c3b88e3ccce8c94c97 (patch)
treee08c68a34be268febf6e2d999ea420e21ae34a7b /aisa/coroutine.h
parentReorganize Makefile. (diff)
downloadissim-1ecef319d7c8a07073fb37c3b88e3ccce8c94c97.tar.xz
Remove aisa::suspend() which was trivial.
Diffstat (limited to '')
-rw-r--r--aisa/coroutine.h2
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
5namespace aisa { 5namespace 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>> {