Skip to content

Commit

Permalink
Merge pull request #6416 from G-071/fix_hipcc_compilation
Browse files Browse the repository at this point in the history
Change run_as_os_thread deprecation forwarding due to hipcc compilation issue
  • Loading branch information
hkaiser authored Jan 13, 2024
2 parents 6f6f287 + 1d8dde8 commit 797ad73
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 797ad73

Please sign in to comment.