Skip to content

Commit

Permalink
#2212: param: remove reference
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Nov 9, 2023
1 parent 01c7430 commit 5f67842
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/vt/messaging/param_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ struct MsgProps {
return std::move(*this);
}

template <typename MsgT>
void apply(MsgT& msg);
template <typename MsgPtrT>
void apply(MsgPtrT msg);

private:
bool as_location_msg_ = false;
Expand Down
4 changes: 2 additions & 2 deletions src/vt/messaging/param_msg.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@

namespace vt {

template <typename MsgT>
void MsgProps::apply(MsgT& msg) {
template <typename MsgPtrT>
void MsgProps::apply(MsgPtrT msg) {
if (as_location_msg_) {
theMsg()->markAsLocationMessage(msg);
}
Expand Down

0 comments on commit 5f67842

Please sign in to comment.