Eliminate some copies

This commit is contained in:
Thomas Goyne 2015-08-24 13:22:42 -07:00 committed by Ari Lazier
parent 6a491eaf1b
commit 06ce25053d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}