2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Fix range-v3 deprecation warnings

This commit is contained in:
Ilya Fedin
2023-02-11 08:18:57 +04:00
committed by John Preston
parent 1940edd6ee
commit c65b45460b
5 changed files with 9 additions and 9 deletions

View File

@@ -1053,7 +1053,7 @@ void FileLoadTask::process(Args &&args) {
if (image->modifications.paint) {
const auto documents = ExtractStickersFromScene(image);
_result->attachedStickers = documents
| ranges::view::transform(&DocumentData::mtpInput)
| ranges::views::transform(&DocumentData::mtpInput)
| ranges::to_vector;
}
}