Fix build with MSVC.

This commit is contained in:
John Preston
2026-03-28 15:49:20 +07:00
parent de42fb83c5
commit fa8eaaff4f
3 changed files with 3 additions and 3 deletions
@@ -2413,7 +2413,7 @@ object_ptr<Ui::RpWidget> CreatePollBox::setupContent() {
},
rpl::single(!!(_chosen & PollData::Flag::PublicVotes))
| rpl::then(state->showWhoVotedForceOn.events()),
st::detailedSettingsButtonStyle)
st::detailedSettingsButtonStyle).get()
: nullptr;
const auto multiple = AddPollToggleButton(
container,
@@ -2437,7 +2437,7 @@ object_ptr<Ui::RpWidget> CreatePollBox::setupContent() {
},
rpl::single(!!(_chosen & PollData::Flag::OpenAnswers))
| rpl::then(state->addOptionsForceOff.events()),
st::detailedSettingsButtonStyle)
st::detailedSettingsButtonStyle).get()
: nullptr;
const auto revoting = AddPollToggleButton(
container,