From a4298dd92c09e4adbae85d55d222266f5c7f96a5 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 9 Mar 2016 14:10:52 -0800 Subject: [PATCH] Remove an unused function --- src/impl/realm_coordinator.cpp | 7 ------- src/impl/realm_coordinator.hpp | 1 - 2 files changed, 8 deletions(-) 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(); };