@@ -97,7 +97,7 @@ class FoldNode : public FoldBaseNode<D,S,E>
9797 virtual S calcNewValue () const override
9898 {
9999 S newValue = value_;
100- for (const auto & e : events_->REvents ())
100+ for (const auto & e : events_->Events ())
101101 newValue = func_ (newValue,e);
102102 return newValue;
103103 }
@@ -139,7 +139,7 @@ class IterateNode : public FoldBaseNode<D,S,E>
139139 virtual S calcNewValue () const override
140140 {
141141 S newValue = value_;
142- for (const auto & e : events_->REvents ())
142+ for (const auto & e : events_->Events ())
143143 newValue = func_ (newValue);
144144 return newValue;
145145 }
@@ -180,8 +180,8 @@ class HoldNode : public SignalNode<D,S>
180180
181181 D::Log ().template Append <NodeEvaluateBeginEvent>(GetObjectId (*this ), turn.Id (), std::this_thread::get_id ().hash ());
182182 S newValue = value_;
183- if (! events_->REvents ().empty ())
184- newValue = events_->REvents ().back ();
183+ if (! events_->Events ().empty ())
184+ newValue = events_->Events ().back ();
185185 D::Log ().template Append <NodeEvaluateEndEvent>(GetObjectId (*this ), turn.Id (), std::this_thread::get_id ().hash ());
186186
187187 if (newValue != value_)
@@ -244,7 +244,7 @@ class SnapshotNode : public SignalNode<D,S>
244244
245245 D::Log ().template Append <NodeEvaluateBeginEvent>(GetObjectId (*this ), turn.Id (), std::this_thread::get_id ().hash ());
246246 S newValue = value_;
247- if (! trigger_->REvents ().empty ())
247+ if (! trigger_->Events ().empty ())
248248 newValue = target_->Value ();
249249 D::Log ().template Append <NodeEvaluateEndEvent>(GetObjectId (*this ), turn.Id (), std::this_thread::get_id ().hash ());
250250
@@ -366,7 +366,7 @@ class PulseNode : public EventStreamNode<D,S>
366366 trigger_->SetCurrentTurn (turn);
367367
368368 D::Log ().template Append <NodeEvaluateBeginEvent>(GetObjectId (*this ), turn.Id (), std::this_thread::get_id ().hash ());
369- for (const auto & e : trigger_->REvents ())
369+ for (const auto & e : trigger_->Events ())
370370 events_.push_back (target_->ValueRef ());
371371 D::Log ().template Append <NodeEvaluateEndEvent>(GetObjectId (*this ), turn.Id (), std::this_thread::get_id ().hash ());
372372
@@ -445,7 +445,7 @@ class EventFlattenNode : public EventStreamNode<D, TInner>
445445 }
446446
447447 D::Log ().template Append <NodeEvaluateBeginEvent>(GetObjectId (*this ), turn.Id (), std::this_thread::get_id ().hash ());
448- events_.insert (events_.end (), inner_->REvents ().begin (), inner_->REvents ().end ());
448+ events_.insert (events_.end (), inner_->Events ().begin (), inner_->Events ().end ());
449449 D::Log ().template Append <NodeEvaluateEndEvent>(GetObjectId (*this ), turn.Id (), std::this_thread::get_id ().hash ());
450450
451451 if (events_.size () > 0 )
0 commit comments