aboutsummaryrefslogtreecommitdiff
path: root/ports/coroutine/add-noexcept-to-frame.patch
blob: fe5c6c6d34997b2e31513f0fc6785d752d99026b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/interface/coroutine/frame.h
+++ a/interface/coroutine/frame.h
@@ -119,8 +119,8 @@
         return *this;
     }
     // 17.12.3.2, export/import
-    static /*constexpr*/ coroutine_handle from_address(void* _Addr) {
+    static /*constexpr*/ coroutine_handle from_address(void* _Addr) noexcept {
         coroutine_handle _Result{};
         _Result._Ptr = reinterpret_cast<portable_coro_prefix*>(_Addr);
         return _Result;
     }