Skip to content

Commit 25c811e

Browse files
committed
fix unknown noop_coroutine type
1 parent 0550a5d commit 25c811e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/cppcoro/coroutine.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ namespace cppcoro {
2020
using std::experimental::coroutine_handle;
2121
using std::experimental::suspend_always;
2222
using std::experimental::suspend_never;
23-
using std::experimental::noop_coroutine;
23+
24+
#if CPPCORO_COMPILER_SUPPORTS_SYMMETRIC_TRANSFER
25+
using std::experimental::noop_coroutine;
26+
#endif
2427
}
2528

2629
#else

0 commit comments

Comments
 (0)