Skip to content

Commit 2bc1c52

Browse files
committed
use modules in suspend_never example when enabled
1 parent a2815e1 commit 2bc1c52

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/suspend_never.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
#include <beman/execution/execution.hpp>
1+
#ifdef BEMAN_HAS_IMPORT_STD
2+
import std;
3+
#else
24
#include <iostream>
35
#include <new>
46
#include <memory>
7+
#endif
8+
#include <beman/execution/execution.hpp>
59

610
namespace ex = beman::execution;
711

0 commit comments

Comments
 (0)