Skip to content

Commit a148d88

Browse files
committed
use __optional instead of std::optional
1 parent ca78abe commit a148d88

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

include/exec/static_thread_pool.hpp

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
#include "../stdexec/__detail/__execution_legacy.hpp"
2828
#include "../stdexec/__detail/__get_completion_signatures.hpp"
2929
#include "../stdexec/__detail/__intrusive_queue.hpp"
30-
#include "../stdexec/__detail/__manual_lifetime.hpp" // IWYU pragma: keep
31-
#include "../stdexec/__detail/__meta.hpp" // IWYU pragma: keep
30+
#include "../stdexec/__detail/__manual_lifetime.hpp"
31+
#include "../stdexec/__detail/__meta.hpp"
32+
#include "../stdexec/__detail/__optional.hpp"
3233
#include "../stdexec/__detail/__receivers.hpp"
3334
#include "../stdexec/__detail/__transform_completion_signatures.hpp"
3435
#include "../stdexec/__detail/__tuple.hpp"
@@ -704,12 +705,12 @@ namespace experimental::execution
704705

705706
alignas(64) __std::atomic<std::uint32_t> num_active_{};
706707
alignas(64) remote_queue_list remotes_;
707-
std::uint32_t thread_count_;
708-
std::uint32_t max_steals_{thread_count_ + 1};
709-
bwos_params params_;
710-
std::vector<std::thread> threads_;
711-
std::vector<std::optional<thread_state>> thread_states_;
712-
numa_policy numa_;
708+
std::uint32_t thread_count_;
709+
std::uint32_t max_steals_{thread_count_ + 1};
710+
bwos_params params_;
711+
std::vector<std::thread> threads_;
712+
std::vector<__optional<thread_state>> thread_states_;
713+
numa_policy numa_;
713714

714715
struct thread_index_by_numa_node
715716
{

0 commit comments

Comments
 (0)