diff --git a/src/impl/realm_coordinator.cpp b/src/impl/realm_coordinator.cpp index 6d657f1c..9ef8a885 100644 --- a/src/impl/realm_coordinator.cpp +++ b/src/impl/realm_coordinator.cpp @@ -487,13 +487,6 @@ void RealmCoordinator::open_helper_shared_group() } } -void RealmCoordinator::move_new_notifiers_to_main() -{ - m_notifiers.reserve(m_notifiers.size() + m_new_notifiers.size()); - std::move(m_new_notifiers.begin(), m_new_notifiers.end(), std::back_inserter(m_notifiers)); - m_new_notifiers.clear(); -} - void RealmCoordinator::advance_to_ready(Realm& realm) { decltype(m_notifiers) notifiers; diff --git a/src/impl/realm_coordinator.hpp b/src/impl/realm_coordinator.hpp index bd404e05..3f20a2cb 100644 --- a/src/impl/realm_coordinator.hpp +++ b/src/impl/realm_coordinator.hpp @@ -138,7 +138,6 @@ private: void run_async_notifiers(); void open_helper_shared_group(); - void move_new_notifiers_to_main(); void advance_helper_shared_group_to_latest(); void clean_up_dead_notifiers(); };