2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +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

@@ -632,9 +632,9 @@ bool Call::handleSignalingData(
if (data.vphone_call_id().v != _id || !_instance) {
return false;
}
auto prepared = ranges::view::all(
auto prepared = ranges::views::all(
data.vdata().v
) | ranges::view::transform([](char byte) {
) | ranges::views::transform([](char byte) {
return static_cast<uint8_t>(byte);
}) | ranges::to_vector;
_instance->receiveSignalingData(std::move(prepared));