diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-14 16:24:59 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-14 16:24:59 +0200 |
commit | 46c97a8db770d637cf8e11fa8b178a32c60cdada (patch) | |
tree | 4022e05800efba2dd0a31b6363eed0f0bf065671 /src/users.cpp | |
parent | 63601e946e77f11835cf9cbb87c55fe41e0b12bb (diff) |
Rename UserChanList to User::ChanList, remove UCListIter
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 8dbacde64..c2b8852d8 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -997,7 +997,7 @@ void User::SendText(const std::string& linePrefix, std::stringstream& textStream bool User::SharesChannelWith(User *other) { /* Outer loop */ - for (UCListIter i = this->chans.begin(); i != this->chans.end(); i++) + for (User::ChanList::iterator i = this->chans.begin(); i != this->chans.end(); ++i) { /* Eliminate the inner loop (which used to be ~equal in size to the outer loop) * by replacing it with a map::find which *should* be more efficient @@ -1170,7 +1170,7 @@ void LocalUser::SetClass(const std::string &explicit_name) void User::PurgeEmptyChannels() { // firstly decrement the count on each channel - for (UCListIter i = this->chans.begin(); i != this->chans.end(); ) + for (User::ChanList::iterator i = this->chans.begin(); i != this->chans.end(); ) { Channel* c = (*i)->chan; ++i; |