diff --git a/libcxx/include/experimental/coroutine b/libcxx/include/experimental/coroutine index 862d54563a33..fef5e0857a19 100644 --- a/libcxx/include/experimental/coroutine +++ b/libcxx/include/experimental/coroutine @@ -294,7 +294,7 @@ using noop_coroutine_handle = coroutine_handle; inline _LIBCPP_INLINE_VISIBILITY noop_coroutine_handle noop_coroutine() _NOEXCEPT { - return {}; + return noop_coroutine_handle(); } #endif // __has_builtin(__builtin_coro_noop)