Eliminate some copies

This commit is contained in:
Thomas Goyne 2015-08-24 13:22:42 -07:00 committed by Ari Lazier
parent e61833c26e
commit 861a8c2c9c
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);
}
}