mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
* #28351: managerimpl: use item instead of iter
This commit is contained in:
@ -1352,8 +1352,8 @@ void ManagerImpl::addStream(const std::string& call_id)
|
||||
ParticipantSet participants(conf->getParticipantList());
|
||||
|
||||
// reset ring buffer for all conference participant
|
||||
for (const auto &iter_p : participants)
|
||||
getMainBuffer().flush(iter_p);
|
||||
for (const auto &participant : participants)
|
||||
getMainBuffer().flush(participant);
|
||||
|
||||
getMainBuffer().flush(MainBuffer::DEFAULT_ID);
|
||||
}
|
||||
@ -2936,8 +2936,8 @@ ManagerImpl::registerAccounts()
|
||||
{
|
||||
AccountMap allAccounts(getAllAccounts());
|
||||
|
||||
for (auto &iter : allAccounts) {
|
||||
Account *a = iter.second;
|
||||
for (auto &item : allAccounts) {
|
||||
Account *a = item.second;
|
||||
|
||||
if (!a)
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user