Skip to content

Commit

Permalink
#125 Move graph_interface.hpp into a new folder <ureact/core/>
Browse files Browse the repository at this point in the history
* move all graph_interface.hpp content into a new public interface ureact::core
  • Loading branch information
YarikTH committed Sep 4, 2023
1 parent 25678b8 commit ad52185
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/ureact/adaptor/fold.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ class fold_node final : public signal_node<S>
this->detach_from_all();
}

UREACT_WARN_UNUSED_RESULT update_result update() override
UREACT_WARN_UNUSED_RESULT core::update_result update() override
{
const auto& src_events = get_internals( m_source ).get_events();

if( src_events.empty() )
return update_result::unchanged;
return core::update_result::unchanged;

if constexpr( std::is_invocable_r_v<S, F, event_range<E>, S, Deps...> )
{
Expand All @@ -127,7 +127,7 @@ class fold_node final : public signal_node<S>
m_deps.data );

// Always assume change
return update_result::changed;
return core::update_result::changed;
}
else
{
Expand Down

0 comments on commit ad52185

Please sign in to comment.