Fix warning C4805

This commit is contained in:
Eric Kotato 2024-01-02 12:14:49 +03:00 committed by John Preston
parent e2e55312b8
commit 7638f4cc3d
2 changed files with 2 additions and 2 deletions

View file

@ -1037,7 +1037,7 @@ void GiftCodeBox(
state->data = session->api().premium().giftCodeValue(slug);
state->used = state->data.value(
) | rpl::map([=](const Api::GiftCode &data) {
return data.used;
return data.used != 0;
});
box->setWidth(st::boxWideWidth);

View file

@ -1258,7 +1258,7 @@ void Settings::resetOnLastLogout() {
_tabbedReplacedWithInfo = false; // per-window
_systemDarkModeEnabled = false;
_hiddenGroupCallTooltips = 0;
_storiesClickTooltipHidden = 0;
_storiesClickTooltipHidden = false;
_recentEmojiPreload.clear();
_recentEmoji.clear();