From 320db83155ff5f3afb67bc1a2e6e979a98c69869 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 24 Jul 2023 15:31:43 +0400 Subject: [PATCH] Fix build with GCC. --- Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp b/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp index 1a1a395d3..c3a9ddda3 100644 --- a/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp +++ b/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp @@ -332,11 +332,7 @@ void List::paint( bool layered) { const auto &st = _st.small; const auto &full = _st.full; - const auto ratio = layout.ratio; const auto expandRatio = layout.expandRatio; - const auto lerp = [&](float64 a, float64 b) { - return a + (b - a) * ratio; - }; const auto elerp = [&](float64 a, float64 b) { return a + (b - a) * expandRatio; };