Skip to content

Commit df819ce

Browse files
committed
Fix include style in exec/sequence.hpp
The header `exec/sequence.hpp` has always used the `< >` style for includes, e.g. `#include <stdexec/execution.hpp>`. This doesn't work with NVC++. But that hasn't been a problem in practice because none of the examples or tests seem to have included `exec/sequence.hpp`. But a few days ago `exec/repeat_n.hpp` and `exec/repeat_effect_until.hpp` were both changed to have `#include "sequence.hpp"`. That broke many of the NVC++ tests for stdexec with ``` ".../sequence.hpp", line 18: catastrophic error: cannot open source file "stdexec/execution.hpp" #include <stdexec/execution.hpp> ^ ``` Fix the failures by changing `exec/sequence.hpp` to use relative includes in quotes rather than `< >`. This fixes the NVC++ tests.
1 parent a5efb0a commit df819ce

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/exec/sequence.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
*/
1616
#pragma once
1717

18-
#include <stdexec/execution.hpp>
19-
#include <stdexec/__detail/__tuple.hpp>
20-
#include <stdexec/__detail/__variant.hpp>
18+
#include "../stdexec/execution.hpp"
19+
#include "../stdexec/__detail/__tuple.hpp"
20+
#include "../stdexec/__detail/__variant.hpp"
2121

2222
STDEXEC_PRAGMA_PUSH()
2323
STDEXEC_PRAGMA_IGNORE_GNU("-Wmissing-braces")

0 commit comments

Comments
 (0)