2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-04 16:35:44 +00:00

Get rid of deprecated ranges::view usage

This commit is contained in:
Ilya Fedin
2021-03-13 16:12:08 +04:00
committed by John Preston
parent c4dcf064d5
commit c0c10689a1
75 changed files with 270 additions and 270 deletions

View File

@@ -308,9 +308,9 @@ FieldAutocomplete::StickerRows FieldAutocomplete::getStickerSuggestions() {
_emoji,
_stickersSeed
);
auto result = ranges::view::all(
auto result = ranges::views::all(
list
) | ranges::view::transform([](not_null<DocumentData*> sticker) {
) | ranges::views::transform([](not_null<DocumentData*> sticker) {
return StickerSuggestion{
sticker,
sticker->createMediaView()