Workaround MSVC 17.3.2 ICE.

This commit is contained in:
John Preston 2022-08-26 09:45:46 +04:00
parent 82d68f5b98
commit 7b005c64e0
1 changed files with 4 additions and 3 deletions

View File

@ -2612,6 +2612,9 @@ void StickersListWidget::removeMegagroupSet(bool locally) {
refreshStickers();
return;
}
const auto cancelled = [](Fn<void()> &&close) {
close();
};
checkHideWithBox(controller()->show(Ui::MakeConfirmBox({
.text = tr::lng_stickers_remove_group_set(),
.confirmed = crl::guard(this, [this, group = _megagroupSet](
@ -2623,9 +2626,7 @@ void StickersListWidget::removeMegagroupSet(bool locally) {
}
close();
}),
.cancelled = [](Fn<void()> &&close) {
close();
},
.cancelled = cancelled,
})));
}