From 5f67842587b8f34d218cc49aad5f154e0fea1469 Mon Sep 17 00:00:00 2001 From: Jonathan Lifflander Date: Tue, 7 Nov 2023 17:24:18 -0800 Subject: [PATCH] #2212: param: remove reference --- src/vt/messaging/param_msg.h | 4 ++-- src/vt/messaging/param_msg.impl.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vt/messaging/param_msg.h b/src/vt/messaging/param_msg.h index fef13e75ee..e1ec3fc7f9 100644 --- a/src/vt/messaging/param_msg.h +++ b/src/vt/messaging/param_msg.h @@ -91,8 +91,8 @@ struct MsgProps { return std::move(*this); } - template - void apply(MsgT& msg); + template + void apply(MsgPtrT msg); private: bool as_location_msg_ = false; diff --git a/src/vt/messaging/param_msg.impl.h b/src/vt/messaging/param_msg.impl.h index 5fb254b6a2..940e44372d 100644 --- a/src/vt/messaging/param_msg.impl.h +++ b/src/vt/messaging/param_msg.impl.h @@ -48,8 +48,8 @@ namespace vt { -template -void MsgProps::apply(MsgT& msg) { +template +void MsgProps::apply(MsgPtrT msg) { if (as_location_msg_) { theMsg()->markAsLocationMessage(msg); }