fix for swift issues

This commit is contained in:
Ari Lazier 2015-07-27 15:15:18 -07:00
parent 94c7ea512f
commit e9379491d6
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ namespace realm {
typedef std::shared_ptr<std::function<void(const std::string)>> NotificationFunction;
void add_notification(NotificationFunction &notification) { m_notifications.insert(notification); }
void remove_notification(NotificationFunction notification) { m_notifications.erase(notification); }
void remove_all_notifications() { m_notifications.clear(); }
void invalidate();
bool compact();