mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Get rid of deprecated ranges::view usage
This commit is contained in:
@@ -1196,7 +1196,7 @@ void ParticipantsBoxController::rebuildChatAdmins(
|
||||
return;
|
||||
}
|
||||
|
||||
auto list = ranges::view::all(chat->admins) | ranges::to_vector;
|
||||
auto list = ranges::views::all(chat->admins) | ranges::to_vector;
|
||||
if (const auto creator = chat->owner().userLoaded(chat->creator)) {
|
||||
list.emplace_back(creator);
|
||||
}
|
||||
|
Reference in New Issue
Block a user