Skip to content

Commit

Permalink
Remove List::get_version_counter()
Browse files Browse the repository at this point in the history
This was a temporary hack for list notifications which was made
unnecessary by find-grained notifications.
  • Loading branch information
tgoyne committed May 4, 2016
1 parent 5c78248 commit 72de650
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions Realm/ObjectStore/list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,3 @@ NotificationToken List::add_notification_callback(CollectionChangeCallback cb)
}
return {m_notifier, m_notifier->add_callback(std::move(cb))};
}

uint_fast64_t List::get_version_counter() const noexcept
{
return m_link_view->get_origin_table().get_version_counter();
}
3 changes: 0 additions & 3 deletions Realm/ObjectStore/list.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ class List {

NotificationToken add_notification_callback(CollectionChangeCallback cb);

// This should go away once we have real List notifications
uint_fast64_t get_version_counter() const noexcept;

// These are implemented in object_accessor.hpp
template <typename ValueType, typename ContextType>
void add(ContextType ctx, ValueType value);
Expand Down

0 comments on commit 72de650

Please sign in to comment.