Skip to content

Commit

Permalink
fixed bug in callable_remote_procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Sep 29, 2023
1 parent c497eab commit 9502381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/thallium/callable_remote_procedure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ class callable_remote_procedure_with_context {
const T&... args) {
std::chrono::duration<double, std::milli> fp_ms = t;
double timeout_ms = fp_ms.count();
return iforward(std::make_tuple(std::creft(args)...), timeout_ms);
return iforward(std::make_tuple(std::cref(args)...), timeout_ms);
}

/**
Expand Down

0 comments on commit 9502381

Please sign in to comment.