mirror of
https://github.com/anope/anope.git
synced 2026-06-29 08:16:39 +02:00
Use auto in as many places as possible.
This commit is contained in:
+1
-1
@@ -272,7 +272,7 @@ void Server::Sync(bool sync_links)
|
||||
FOREACH_MOD(OnPreUplinkSync, (this));
|
||||
}
|
||||
|
||||
for (channel_map::const_iterator it = ChannelList.begin(), it_end = ChannelList.end(); it != it_end;)
|
||||
for (auto it = ChannelList.begin(), it_end = ChannelList.end(); it != it_end;)
|
||||
{
|
||||
Channel *c = it->second;
|
||||
++it;
|
||||
|
||||
Reference in New Issue
Block a user