diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-14 16:15:38 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-14 16:15:38 +0200 |
commit | fb8cb2114483689c5a52f951e301c31bdd2a60a2 (patch) | |
tree | 5a9b7151400618402451eb054e1c7fd78e185d12 /src/modules/m_spanningtree | |
parent | 04ece67c3d8534f74a3d75ec77378cb57a9c044e (diff) |
Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator instead
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/netburst.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_spanningtree/utils.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp index 3eaaaf720..295646148 100644 --- a/src/modules/m_spanningtree/netburst.cpp +++ b/src/modules/m_spanningtree/netburst.cpp @@ -169,7 +169,7 @@ void TreeSocket::SendFJoins(Channel* c) CommandFJoin::Builder fjoin(c); const Channel::MemberMap& ulist = c->GetUsers(); - for (UserMembCIter i = ulist.begin(); i != ulist.end(); ++i) + for (Channel::MemberMap::const_iterator i = ulist.begin(); i != ulist.end(); ++i) { Membership* memb = i->second; if (!fjoin.has_room(memb)) diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp index 1fa150741..d81bfa934 100644 --- a/src/modules/m_spanningtree/utils.cpp +++ b/src/modules/m_spanningtree/utils.cpp @@ -167,7 +167,7 @@ void SpanningTreeUtilities::GetListOfServersForChannel(Channel* c, TreeSocketSet } const Channel::MemberMap& ulist = c->GetUsers(); - for (UserMembCIter i = ulist.begin(); i != ulist.end(); ++i) + for (Channel::MemberMap::const_iterator i = ulist.begin(); i != ulist.end(); ++i) { if (IS_LOCAL(i->first)) continue; |