diff options
Diffstat (limited to 'net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_window_filters_menu_cpp')
-rw-r--r-- | net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_window_filters_menu_cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_window_filters_menu_cpp b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_window_filters_menu_cpp new file mode 100644 index 000000000000..931f5b673762 --- /dev/null +++ b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_window_filters_menu_cpp @@ -0,0 +1,14 @@ +unbreak clang 13 build + +Index: Telegram/SourceFiles/window/window_filters_menu.cpp +--- Telegram/SourceFiles/window/window_filters_menu.cpp.orig ++++ Telegram/SourceFiles/window/window_filters_menu.cpp +@@ -494,7 +494,7 @@ void FiltersMenu::remove( + leave + ) | ranges::views::transform([](not_null<PeerData*> peer) { + return MTPInputPeer(peer->input); +- }) | ranges::to<QVector>()) ++ }) | ranges::to<QVector<MTPInputPeer>>()) + )).done([=](const MTPUpdates &result) { + api->applyUpdates(result); + }).send(); |