Fix build with GCC.

This commit is contained in:
John Preston 2025-07-14 20:50:39 +04:00
parent 38c74bf2cf
commit e6a6763228

View file

@ -4141,10 +4141,10 @@ void InnerWidget::refreshEmpty() {
.name = u"no_chats"_q, .name = u"no_chats"_q,
.sizeOverride = Size(st::changePhoneIconSize), .sizeOverride = Size(st::changePhoneIconSize),
}); });
const auto iconWidget = _emptyList->add( _emptyList->add(
object_ptr<Ui::CenterWrap<>>(_emptyList, std::move(icon.widget))); object_ptr<Ui::CenterWrap<>>(_emptyList, std::move(icon.widget)));
Ui::AddSkip(_emptyList); Ui::AddSkip(_emptyList);
const auto label = _emptyList->add( _emptyList->add(
object_ptr<Ui::FlatLabel>( object_ptr<Ui::FlatLabel>(
_emptyList, _emptyList,
tr::lng_no_conversations(), tr::lng_no_conversations(),