Fix build with GCC.

This commit is contained in:
John Preston 2022-01-27 16:20:39 +03:00
parent 28f2c213f7
commit 217e9b2475

View file

@ -364,7 +364,7 @@ void Session::uploadsStopWithConfirmation(Fn<void()> done) {
const auto id = _uploader->currentUploadId(); const auto id = _uploader->currentUploadId();
const auto exists = !!data().message(id); const auto exists = !!data().message(id);
auto box = Box([=](not_null<Ui::GenericBox*> box) { auto box = Box([=](not_null<Ui::GenericBox*> box) {
const auto label = box->addRow( box->addRow(
object_ptr<Ui::FlatLabel>( object_ptr<Ui::FlatLabel>(
box.get(), box.get(),
tr::lng_upload_sure_stop(), tr::lng_upload_sure_stop(),