Skip to content

Commit

Permalink
Merge pull request #54 from lanza/noexcept
Browse files Browse the repository at this point in the history
mark couroutine_handle::from_address as noexcept to satisfy clang13
  • Loading branch information
luncliff authored Feb 18, 2021
2 parents d9e0e41 + c90caab commit a8f335e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/coroutine/frame.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ struct coroutine_handle : public coroutine_handle<void> {
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;
Expand Down

0 comments on commit a8f335e

Please sign in to comment.