File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ class signal_observer_node final : public observer_node
139
139
this ->detach_from_all ();
140
140
}
141
141
142
- UREACT_WARN_UNUSED_RESULT update_result update () override
142
+ UREACT_WARN_UNUSED_RESULT core:: update_result update () override
143
143
{
144
144
if ( m_subject.is_valid () )
145
145
{
@@ -150,7 +150,7 @@ class signal_observer_node final : public observer_node
150
150
detach_observer ();
151
151
}
152
152
153
- return update_result::unchanged;
153
+ return core:: update_result::unchanged;
154
154
}
155
155
156
156
private:
@@ -188,7 +188,7 @@ class events_observer_node final : public observer_node
188
188
this ->detach_from_all ();
189
189
}
190
190
191
- UREACT_WARN_UNUSED_RESULT update_result update () override
191
+ UREACT_WARN_UNUSED_RESULT core:: update_result update () override
192
192
{
193
193
if ( m_subject.is_valid () )
194
194
{
@@ -208,7 +208,7 @@ class events_observer_node final : public observer_node
208
208
}
209
209
}
210
210
211
- return update_result::unchanged;
211
+ return core:: update_result::unchanged;
212
212
}
213
213
214
214
private:
Original file line number Diff line number Diff line change @@ -307,8 +307,6 @@ UREACT_FUNC void react_graph_impl::schedule_successors( node_data& parentNode )
307
307
308
308
UREACT_FUNC void react_graph_impl::propagate_node_change ( const node_id nodeId )
309
309
{
310
- using update_result = core::update_result;
311
-
312
310
node_data& node = m_node_data[nodeId];
313
311
if ( std::shared_ptr<reactive_node_interface> nodePtr = node.node_ptr .lock () )
314
312
{
@@ -320,16 +318,16 @@ UREACT_FUNC void react_graph_impl::propagate_node_change( const node_id nodeId )
320
318
return ;
321
319
}
322
320
323
- const update_result result = nodePtr->update ();
321
+ const core:: update_result result = nodePtr->update ();
324
322
325
323
// Topology changed?
326
- if ( result == update_result::shifted )
324
+ if ( result == core:: update_result::shifted )
327
325
{
328
326
re_schedule_node ( nodeId );
329
327
return ;
330
328
}
331
329
332
- if ( result == update_result::changed )
330
+ if ( result == core:: update_result::changed )
333
331
{
334
332
m_changed_nodes.add ( nodeId );
335
333
schedule_successors ( node );
You can’t perform that action at this time.
0 commit comments