Commit c9f38b0e authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #28351: managerimpl: use item instead of iter

parent cacbed04
...@@ -1352,8 +1352,8 @@ void ManagerImpl::addStream(const std::string& call_id) ...@@ -1352,8 +1352,8 @@ void ManagerImpl::addStream(const std::string& call_id)
ParticipantSet participants(conf->getParticipantList()); ParticipantSet participants(conf->getParticipantList());
// reset ring buffer for all conference participant // reset ring buffer for all conference participant
for (const auto &iter_p : participants) for (const auto &participant : participants)
getMainBuffer().flush(iter_p); getMainBuffer().flush(participant);
getMainBuffer().flush(MainBuffer::DEFAULT_ID); getMainBuffer().flush(MainBuffer::DEFAULT_ID);
} }
...@@ -2936,8 +2936,8 @@ ManagerImpl::registerAccounts() ...@@ -2936,8 +2936,8 @@ ManagerImpl::registerAccounts()
{ {
AccountMap allAccounts(getAllAccounts()); AccountMap allAccounts(getAllAccounts());
for (auto &iter : allAccounts) { for (auto &item : allAccounts) {
Account *a = iter.second; Account *a = item.second;
if (!a) if (!a)
continue; continue;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment