diff options
| author | Gor Nishanov <GorNishanov@gmail.com> | 2018-04-04 22:51:57 +0000 |
|---|---|---|
| committer | Gor Nishanov <GorNishanov@gmail.com> | 2018-04-04 22:51:57 +0000 |
| commit | b1e985db53168a30b9bb8b0a63f8b9f9d8264b3c (patch) | |
| tree | 0076bd57506005af2a0d18a038288c93fbb8e87b /libcxx/include/experimental/coroutine | |
| parent | 685c5e838a59c6c84883bd9b4250da01a9dcabe4 (diff) | |
| download | bcm5719-llvm-b1e985db53168a30b9bb8b0a63f8b9f9d8264b3c.tar.gz bcm5719-llvm-b1e985db53168a30b9bb8b0a63f8b9f9d8264b3c.zip | |
[coroutines] Allow compilation under c++03
llvm-svn: 329239
Diffstat (limited to 'libcxx/include/experimental/coroutine')
| -rw-r--r-- | libcxx/include/experimental/coroutine | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/experimental/coroutine b/libcxx/include/experimental/coroutine index 862d54563a3..fef5e0857a1 100644 --- a/libcxx/include/experimental/coroutine +++ b/libcxx/include/experimental/coroutine @@ -294,7 +294,7 @@ using noop_coroutine_handle = coroutine_handle<noop_coroutine_promise>; inline _LIBCPP_INLINE_VISIBILITY noop_coroutine_handle noop_coroutine() _NOEXCEPT { - return {}; + return noop_coroutine_handle(); } #endif // __has_builtin(__builtin_coro_noop) |

