Skip to content

Commit cc7a34f

Browse files
authored
Add missing include for std::launder
std::launder is defined in <new> and is missing here. Might get conflicts with clang compiler
1 parent 7d70457 commit cc7a34f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/stdexec/__detail/__utility.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include <cstdio>
2424
#include <initializer_list>
2525
#include <memory> // IWYU pragma: keep for std::start_lifetime_as
26+
#include <new> // IWYU pragma: keep for std::launder
2627
#include <utility> // IWYU pragma: keep for std::unreachable
2728

2829
STDEXEC_PRAGMA_PUSH()

0 commit comments

Comments
 (0)