From 217e9b2475276f50ed770fd71fb0fda32fd17857 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 27 Jan 2022 16:20:39 +0300 Subject: [PATCH] Fix build with GCC. --- Telegram/SourceFiles/main/main_session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/main/main_session.cpp b/Telegram/SourceFiles/main/main_session.cpp index ae4658ef7..084137b82 100644 --- a/Telegram/SourceFiles/main/main_session.cpp +++ b/Telegram/SourceFiles/main/main_session.cpp @@ -364,7 +364,7 @@ void Session::uploadsStopWithConfirmation(Fn done) { const auto id = _uploader->currentUploadId(); const auto exists = !!data().message(id); auto box = Box([=](not_null box) { - const auto label = box->addRow( + box->addRow( object_ptr( box.get(), tr::lng_upload_sure_stop(),