From fb8cb2114483689c5a52f951e301c31bdd2a60a2 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Mon, 14 Jul 2014 16:15:38 +0200 Subject: Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator instead --- src/modules/m_spanningtree/netburst.cpp | 2 +- src/modules/m_spanningtree/utils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree') 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; -- cgit v1.2.3