yuzu/externals/vcpkg/ports/coroutine/add-noexcept-to-frame.patch

14 lines
458 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
--- 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;
}