[coroutines] Allow compilation under c++03

llvm-svn: 329239
This commit is contained in:
Gor Nishanov 2018-04-04 22:51:57 +00:00
parent 685c5e838a
commit b1e985db53
1 changed files with 1 additions and 1 deletions

View File

@ -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)