diff --git a/stl/inc/coroutine b/stl/inc/coroutine index fdf1a641e5..2c939373da 100644 --- a/stl/inc/coroutine +++ b/stl/inc/coroutine @@ -76,11 +76,11 @@ struct coroutine_handle { return __builtin_coro_done(_Ptr); } - void operator()() const noexcept { // strengthened + void operator()() const { __builtin_coro_resume(_Ptr); } - void resume() const noexcept { // strengthened + void resume() const { __builtin_coro_resume(_Ptr); } diff --git a/stl/inc/experimental/coroutine b/stl/inc/experimental/coroutine index a4068e0719..c6ed2a2a29 100644 --- a/stl/inc/experimental/coroutine +++ b/stl/inc/experimental/coroutine @@ -95,7 +95,7 @@ namespace experimental { return _Ptr; } - void operator()() const noexcept { + void operator()() const { resume(); }