From dac4389e371e001c89a790de6a10c96d7d774dbb Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 30 Jul 2024 18:37:57 +0300 Subject: [PATCH] Fix build on Linux. --- Telegram/SourceFiles/boxes/gift_credits_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/gift_credits_box.cpp b/Telegram/SourceFiles/boxes/gift_credits_box.cpp index d03a73641..a2e36038a 100644 --- a/Telegram/SourceFiles/boxes/gift_credits_box.cpp +++ b/Telegram/SourceFiles/boxes/gift_credits_box.cpp @@ -124,7 +124,7 @@ void GiftCreditsBox( 0, [=] { gifted(); box->uiShow()->hideLayer(); }); - const auto bottom = box->setPinnedToBottomContent( + box->setPinnedToBottomContent( object_ptr(box)); }