2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Explicitly specify QVector element type to fix build with clang13+range-v3+qt6

Same story as 2b383a4 for #24014.
Fixes 4.8.0 build on OpenBSD/amd64 7.3 with clang 13.0.0, range-v3 0.12.0 and Qt 6.5.0.
This commit is contained in:
Klemens Nanni
2023-04-24 23:34:44 +01:00
committed by John Preston
parent 3825586715
commit 11906297d8
4 changed files with 5 additions and 5 deletions

View File

@@ -696,7 +696,7 @@ void FilterRowButton::paintEvent(QPaintEvent *e) {
row.removePeers
) | ranges::views::transform([](not_null<PeerData*> peer) {
return MTPInputPeer(peer->input);
}) | ranges::to<QVector>();
}) | ranges::to<QVector<MTPInputPeer>>();
removeChatlistRequests.push_back(
MTPchatlists_LeaveChatlist(
MTP_inputChatlistDialogFilter(MTP_int(newId)),