mirror of
https://github.com/anope/anope.git
synced 2026-07-08 21:13:13 +02:00
Use auto in as many places as possible.
This commit is contained in:
@@ -177,7 +177,7 @@ private:
|
||||
|
||||
std::vector<User *> users;
|
||||
/* The newer users are at the end of the list, so kick users starting from the end */
|
||||
for (Channel::ChanUserList::reverse_iterator it = ci->c->users.rbegin(), it_end = ci->c->users.rend(); it != it_end; ++it)
|
||||
for (auto it = ci->c->users.rbegin(), it_end = ci->c->users.rend(); it != it_end; ++it)
|
||||
{
|
||||
auto *memb = it->second;
|
||||
User *user = memb->user;
|
||||
|
||||
Reference in New Issue
Block a user