Some manual change to for-ranged loop.
Use "const auto&" where possible.
This commit is contained in:
parent
2717b96310
commit
4ac4dacffe
8 changed files with 9 additions and 8 deletions
|
@ -58,7 +58,7 @@ bool AtomContentUtilityClient::OnMessageReceived(
|
|||
IPC_MESSAGE_UNHANDLED(handled = false)
|
||||
IPC_END_MESSAGE_MAP()
|
||||
|
||||
for (auto it = handlers_.begin(); !handled && it != handlers_.end(); ++it) {
|
||||
for (auto it = handlers_.begin(); !handled && it != handlers_.end(); ++it) {
|
||||
handled = (*it)->OnMessageReceived(message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue