Fix warning.

GitOrigin-RevId: 635b716f371f5e86cfe4d599d573dc46558ae14c
This commit is contained in:
levlam 2019-12-23 18:39:20 +03:00
parent b85302f928
commit 8da2d89884

View File

@ -9873,9 +9873,9 @@ void ContactsManager::remove_linked_channel_id(ChannelId channel_id) {
auto it = linked_channel_ids_.find(channel_id);
if (it != linked_channel_ids_.end()) {
auto channel_id = it->second;
auto linked_channel_id = it->second;
linked_channel_ids_.erase(it);
linked_channel_ids_.erase(channel_id);
linked_channel_ids_.erase(linked_channel_id);
}
}