commit | b1e985db53168a30b9bb8b0a63f8b9f9d8264b3c | [log] [tgz] |
---|---|---|
author | Gor Nishanov <GorNishanov@gmail.com> | Wed Apr 04 22:51:57 2018 +0000 |
committer | Gor Nishanov <GorNishanov@gmail.com> | Wed Apr 04 22:51:57 2018 +0000 |
tree | 0076bd57506005af2a0d18a038288c93fbb8e87b | |
parent | 685c5e838a59c6c84883bd9b4250da01a9dcabe4 [diff] [blame] |
[coroutines] Allow compilation under c++03 llvm-svn: 329239
diff --git a/libcxx/include/experimental/coroutine b/libcxx/include/experimental/coroutine index 862d545..fef5e08 100644 --- a/libcxx/include/experimental/coroutine +++ b/libcxx/include/experimental/coroutine
@@ -294,7 +294,7 @@ inline _LIBCPP_INLINE_VISIBILITY noop_coroutine_handle noop_coroutine() _NOEXCEPT { - return {}; + return noop_coroutine_handle(); } #endif // __has_builtin(__builtin_coro_noop)