Skip to content

Commit 87f51c3

Browse files
committed
replace include of <stop_token> with forward declarations
1 parent 89f1e58 commit 87f51c3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

include/stdexec/__detail/__stop_token.hpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
2020

2121
#include "__concepts.hpp"
2222

23-
#include <stop_token>
23+
STDEXEC_NAMESPACE_STD_BEGIN
24+
class stop_token;
25+
26+
template <class _Callback>
27+
class stop_callback;
28+
STDEXEC_NAMESPACE_STD_END
2429

2530
namespace stdexec {
2631
namespace __stok {

0 commit comments

Comments
 (0)