diff --git a/src/rpp/rpp/subjects/details/subject_state.hpp b/src/rpp/rpp/subjects/details/subject_state.hpp index 4556653f7..50d0c4c21 100644 --- a/src/rpp/rpp/subjects/details/subject_state.hpp +++ b/src/rpp/rpp/subjects/details/subject_state.hpp @@ -124,7 +124,7 @@ class subject_state final : public std::enable_shared_from_thism_state_flag & EState::Emitting) shared->m_state_flag |= EState::NeedToCleanup; else - cleanup_observers(std::get_if(&shared->m_state)); + cleanup_observers(std::get_if(&shared->m_state)); } })}); }