From 5359bf1233f5ddba741c02325ab26a0a6f4dd186 Mon Sep 17 00:00:00 2001 From: Joe Mariadassou Date: Wed, 21 Dec 2022 16:12:55 +1100 Subject: [PATCH] g++ insists on noexecept --- include/cppcoro/task.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cppcoro/task.hpp b/include/cppcoro/task.hpp index a0b5c39a..dd261cb6 100644 --- a/include/cppcoro/task.hpp +++ b/include/cppcoro/task.hpp @@ -49,7 +49,7 @@ namespace cppcoro // were crashing under x86 optimised builds. template CPPCORO_NOINLINE - void await_suspend(cppcoro::coroutine_handle coroutine) + void await_suspend(cppcoro::coroutine_handle coroutine) noexcept { task_promise_base& promise = coroutine.promise();