Skip to content

Commit

Permalink
Eliminate some copies
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoyne committed Sep 9, 2015
1 parent 45890f2 commit 25a6734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared_realm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ void Realm::notify()
void Realm::send_local_notifications(const std::string &type)
{
verify_thread();
for (NotificationFunction notification : m_notifications) {
for (NotificationFunction const& notification : m_notifications) {
(*notification)(type);
}
}
Expand Down

0 comments on commit 25a6734

Please sign in to comment.