Skip to content

Commit b3022d8

Browse files
committed
Fix C++20 modules include
1 parent d90c15a commit b3022d8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libcxx/modules/std/stop_token.inc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
export namespace std {
1111
#ifndef _LIBCPP_HAS_NO_THREADS
12-
# ifdef _LIBCPP_ENABLE_EXPERIMENTAL
1312
// [stoptoken], class stop_­token
1413
using std::stop_token;
1514

@@ -22,6 +21,5 @@ export namespace std {
2221

2322
// [stopcallback], class template stop_­callback
2423
using std::stop_callback;
25-
# endif // _LIBCPP_ENABLE_EXPERIMENTAL
26-
#endif // _LIBCPP_HAS_NO_THREADS
24+
#endif // _LIBCPP_HAS_NO_THREADS
2725
} // namespace std

0 commit comments

Comments
 (0)