From faa99de29c28cc29b03b957d4d237ed8bddfa59b Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Thu, 2 Nov 2023 10:43:45 -0500 Subject: [PATCH] Fixing setting an annotation for an execution policy --- .../include/hpx/executors/execution_policy_annotation.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/core/executors/include/hpx/executors/execution_policy_annotation.hpp b/libs/core/executors/include/hpx/executors/execution_policy_annotation.hpp index 06014b24660f..b9aa683c97da 100644 --- a/libs/core/executors/include/hpx/executors/execution_policy_annotation.hpp +++ b/libs/core/executors/include/hpx/executors/execution_policy_annotation.hpp @@ -15,6 +15,7 @@ #include #include #include +#include #include #include @@ -29,7 +30,7 @@ namespace hpx::execution::experimental { template && - hpx::functional::is_tag_invocable_v< + hpx::is_invocable_v< hpx::execution::experimental::with_annotation_t, typename std::decay_t::executor_type, const char*> @@ -50,7 +51,7 @@ namespace hpx::execution::experimental { template && - hpx::functional::is_tag_invocable_v< + hpx::is_invocable_v< hpx::execution::experimental::with_annotation_t, typename std::decay_t::executor_type, std::string> @@ -72,7 +73,7 @@ namespace hpx::execution::experimental { template && - hpx::functional::is_tag_invocable_v< + hpx::is_invocable_v< hpx::execution::experimental::get_annotation_t, typename std::decay_t::executor_type> )>