Eliminate some copies
This commit is contained in:
parent
45890f2772
commit
25a6734111
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue