From 881d73d4ab445d8f96da88e32efbb4f8cf6a9b45 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 31 Aug 2025 22:17:17 +0400 Subject: [PATCH] Fix build with MSVC. --- Telegram/SourceFiles/boxes/about_sponsored_box.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/boxes/about_sponsored_box.cpp b/Telegram/SourceFiles/boxes/about_sponsored_box.cpp index 1603820ff1..e4e3515c04 100644 --- a/Telegram/SourceFiles/boxes/about_sponsored_box.cpp +++ b/Telegram/SourceFiles/boxes/about_sponsored_box.cpp @@ -64,8 +64,7 @@ void AboutSponsoredBox(not_null box) { return Ui::Text::Link(text, url); }), Ui::Text::RichLangValue); - const auto info1 = box->addRow( - object_ptr(box, std::move(text1), stLabel)); + box->addRow(object_ptr(box, std::move(text1), stLabel)); box->addSkip(st::sponsoredUrlButtonSkip); addUrl();