Fix build.

This commit is contained in:
John Preston 2021-02-02 17:39:51 +04:00
parent 5538c5eace
commit f7b72bffe2
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ void SingleChoiceBox(
st::boxPadding.right(),
st::boxOptionListSkip));
}
const auto callback = args.callback.value();
const auto callback = args.callback;
group->setChangedCallback([=](int value) {
const auto weak = Ui::MakeWeak(box);
callback(value);