diff --git a/libs/core/execution_base/tests/include/algorithm_test_utils.hpp b/libs/core/execution_base/tests/include/algorithm_test_utils.hpp index 8f8333389ee..7c9b896fe5c 100644 --- a/libs/core/execution_base/tests/include/algorithm_test_utils.hpp +++ b/libs/core/execution_base/tests/include/algorithm_test_utils.hpp @@ -528,7 +528,6 @@ struct custom_sender std::atomic& connect_called; std::atomic& tag_invoke_overload_called; -#if defined(HPX_HAVE_STDEXEC) template friend auto tag_invoke( hpx::execution::experimental::get_completion_signatures_t, @@ -536,7 +535,8 @@ struct custom_sender -> hpx::execution::experimental::completion_signatures< hpx::execution::experimental::set_value_t(), hpx::execution::experimental::set_error_t(std::exception_ptr)>; -#else + +#if !defined(HPX_HAVE_STDEXEC) template