File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,8 @@ detail::ReduceStamp Reduce::reduceImmediate(
165165 envelopeSetGroup (msg->env , std::get<detail::StrongGroup>(scope_.get ()).get ());
166166 }
167167
168- auto cur_id = id == detail::ReduceStamp{} ? generateNextID () : id;
168+ auto default_stamp = detail::ReduceStamp{};
169+ auto cur_id = id == default_stamp ? generateNextID () : id;
169170
170171 auto const han = auto_registry::makeAutoHandler<MsgT,f>();
171172 msg->combine_handler_ = han;
Original file line number Diff line number Diff line change @@ -921,7 +921,8 @@ messaging::PendingSend CollectionManager::reduceMsgExpr(
921921 vtAssert (group_ready, " Must be ready" );
922922
923923 auto cur_stamp = stamp;
924- if (cur_stamp == ReduceStamp{}) {
924+ auto default_stamp = ReduceStamp{};
925+ if (cur_stamp == default_stamp) {
925926 cur_stamp = proxy (idx).tryGetLocalPtr ()->getNextStamp ();
926927 }
927928
You can’t perform that action at this time.
0 commit comments