From 1d8dde817248cbdf4a1b7369738b1e294ec5d03b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20Dai=C3=9F?= Date: Sat, 13 Jan 2024 20:58:06 +0100 Subject: [PATCH] Remove const ref from parameter This const casued some issues with hipcc 5.7.3 --- .../include/hpx/runtime_local/run_as_os_thread.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core/runtime_local/include/hpx/runtime_local/run_as_os_thread.hpp b/libs/core/runtime_local/include/hpx/runtime_local/run_as_os_thread.hpp index e894b8f78feb..ffc612b77f3c 100644 --- a/libs/core/runtime_local/include/hpx/runtime_local/run_as_os_thread.hpp +++ b/libs/core/runtime_local/include/hpx/runtime_local/run_as_os_thread.hpp @@ -38,7 +38,7 @@ namespace hpx::threads { HPX_DEPRECATED_V(1, 10, "hpx::threads::run_as_os_thread is deprecated, use " "hpx::run_as_os_thread instead") - decltype(auto) run_as_os_thread(F const& f, Ts&&... ts) + decltype(auto) run_as_os_thread(F&& f, Ts&&... ts) { return hpx::run_as_os_thread(HPX_FORWARD(F, f), HPX_FORWARD(Ts, ts)...); }