diff --git a/include/thallium/callable_remote_procedure.hpp b/include/thallium/callable_remote_procedure.hpp index c3ab217..07a59dd 100644 --- a/include/thallium/callable_remote_procedure.hpp +++ b/include/thallium/callable_remote_procedure.hpp @@ -395,7 +395,7 @@ class callable_remote_procedure_with_context { const T&... args) { std::chrono::duration 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); } /**