Eliminate some copies
This commit is contained in:
parent
6a491eaf1b
commit
06ce25053d
|
@ -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