summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/tdesktop-4.10.3-fix-clang-libstdcxx.patch
blob: 290eb2a6b2d9ae785a7cb983fa363eae4f0869bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Fix compilation with Clang + libstdc++

--- tdesktop-4.10.3-full.orig/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp
+++ tdesktop-4.10.3-full/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp
@@ -814,7 +814,7 @@
 
 	// A list of capabilities that offer feature parity
 	// with custom notifications
-	return ranges::all_of(std::initializer_list{
+	return ranges::all_of(std::array{
 		// To show message content
 		"body",
 		// To have buttons on notifications