From ac520b314db13b8ad9cdc08e6ecb90cc64faf6f8 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Mon, 2 Oct 2023 10:44:27 -0400 Subject: [PATCH] Fix build on FreeBSD --- .../SourceFiles/platform/linux/notifications_manager_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp index 02aa22751..ad0ca8fd7 100644 --- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp @@ -814,7 +814,7 @@ bool ByDefault() { // 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