Skip to content

Commit

Permalink
#2212: param: modify new multicast to use setParams
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Nov 9, 2023
1 parent 5268dfc commit e7efdac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vt/objgroup/proxy/proxy_objgroup.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ Proxy<ObjT>::multicast(GroupType type, Params&&... params) const{
if constexpr (std::is_same_v<MsgT, NoMsg>) {
using Tuple = typename ObjFuncTraits<decltype(f)>::TupleType;
using SendMsgT = messaging::ParamMsg<Tuple>;
auto msg = vt::makeMessage<SendMsgT>(std::forward<Params>(params)...);
auto msg = vt::makeMessage<SendMsgT>();
msg->setParams(std::forward<Params>(params)...);
vt::envelopeSetGroup(msg->env, type);
auto const ctrl = proxy::ObjGroupProxy::getID(proxy_);
auto const han = auto_registry::makeAutoHandlerObjGroupParam<
Expand Down

0 comments on commit e7efdac

Please sign in to comment.