Modernize to C++11 : use auto.
This commit is contained in:
parent
7474e5ec28
commit
0cf7454d4b
6 changed files with 10 additions and 10 deletions
|
@ -47,7 +47,7 @@ void DevToolsNetworkController::SetNetworkState(
|
|||
}
|
||||
|
||||
bool has_offline_interceptors = false;
|
||||
InterceptorMap::iterator it = interceptors_.begin();
|
||||
auto it = interceptors_.begin();
|
||||
for (; it != interceptors_.end(); ++it) {
|
||||
if (it->second->IsOffline()) {
|
||||
has_offline_interceptors = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue