From deb76f38d7362a28c2ae42bd766041e55adc903c Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 27 Mar 2020 22:34:25 +0400 Subject: [PATCH] Beta version 1.9.22: Fix GCC build. --- Telegram/SourceFiles/ui/filter_icons.cpp | 3 +-- changelog.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/ui/filter_icons.cpp b/Telegram/SourceFiles/ui/filter_icons.cpp index d575e6fa7..7ac99bc9a 100644 --- a/Telegram/SourceFiles/ui/filter_icons.cpp +++ b/Telegram/SourceFiles/ui/filter_icons.cpp @@ -135,8 +135,7 @@ const auto kIcons = std::vector{ } // namespace const FilterIcons &LookupFilterIcon(FilterIcon icon) { - Expects(static_cast(icon) >= 0 - && static_cast(icon) < kIcons.size()); + Expects(static_cast(icon) < kIcons.size()); return kIcons[static_cast(icon)]; } diff --git a/changelog.txt b/changelog.txt index 248375afd..258870949 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,4 @@ -1.9.22 (27.03.20) +1.9.22 beta (27.03.20) - Organize chats into Chat Folders if you have too many chats.