Apply autofixes from clazy

This commit is contained in:
Ilya Fedin
2021-03-13 12:26:58 +04:00
committed by John Preston
parent c9934c142d
commit f25b2a2094
35 changed files with 49 additions and 49 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ Updates::Updates(not_null<Main::Session*> session)
}) | rpl::start_with_next([=](not_null<PeerData*> peer) {
if (const auto list = _pendingSpeakingCallParticipants.take(peer)) {
if (const auto call = peer->groupCall()) {
for (const auto [participantPeerId, when] : *list) {
for (const auto &[participantPeerId, when] : *list) {
call->applyActiveUpdate(
participantPeerId,
Data::LastSpokeTimes{