Fixed build on non-Windows.

This commit is contained in:
23rd 2021-12-24 15:27:47 +03:00 committed by John Preston
parent fa4d1d72c4
commit 022249f235
3 changed files with 1 additions and 3 deletions

View File

@ -2936,7 +2936,7 @@ void ApiWrap::preloadEnoughUnreadMentions(not_null<History*> history) {
void ApiWrap::checkForUnreadMentions(
const base::flat_set<MsgId> &possiblyReadMentions,
ChannelData *channel) {
for (const auto msgId : possiblyReadMentions) {
for (const auto &msgId : possiblyReadMentions) {
requestMessageData(channel, msgId, [=] {
const auto item = channel
? _session->data().message(channel->id, msgId)

View File

@ -76,7 +76,6 @@ private:
Ui::Animations::Simple _scaleAnimation;
QRect _geometry;
ButtonStyle _style = ButtonStyle::Bubble;
bool _outbg = false;
};

View File

@ -60,7 +60,6 @@ void InlineList::layoutButtons() {
_buttons.clear();
return;
}
_data.chosenReaction;
auto sorted = ranges::view::all(
_data.reactions
) | ranges::view::transform([](const auto &pair) {