Skip to content

Commit

Permalink
Remove const ref from parameter
Browse files Browse the repository at this point in the history
This const casued some issues with hipcc 5.7.3
  • Loading branch information
G-071 committed Jan 13, 2024
1 parent e8b7598 commit 1d8dde8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)...);
}
Expand Down

0 comments on commit 1d8dde8

Please sign in to comment.