[libcxx] r329239 - [coroutines] Allow compilation under c++03
Gor Nishanov via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 4 15:51:57 PDT 2018
Author: gornishanov
Date: Wed Apr 4 15:51:57 2018
New Revision: 329239
URL: http://llvm.org/viewvc/llvm-project?rev=329239&view=rev
Log:
[coroutines] Allow compilation under c++03
Modified:
libcxx/trunk/include/experimental/coroutine
Modified: libcxx/trunk/include/experimental/coroutine
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/experimental/coroutine?rev=329239&r1=329238&r2=329239&view=diff
==============================================================================
--- libcxx/trunk/include/experimental/coroutine (original)
+++ libcxx/trunk/include/experimental/coroutine Wed Apr 4 15:51:57 2018
@@ -294,7 +294,7 @@ using noop_coroutine_handle = coroutine_
inline _LIBCPP_INLINE_VISIBILITY
noop_coroutine_handle noop_coroutine() _NOEXCEPT {
- return {};
+ return noop_coroutine_handle();
}
#endif // __has_builtin(__builtin_coro_noop)
More information about the cfe-commits
mailing list