Eliminate some copies

This commit is contained in:
Thomas Goyne 2015-08-24 13:22:42 -07:00
parent 45890f2772
commit 25a6734111
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);
}
}