Beta version 3.1.6: Fix build on macOS.

This commit is contained in:
John Preston 2021-10-06 11:10:06 +04:00
parent c9b782fd63
commit 24fa3dbf8f

View file

@ -202,7 +202,7 @@ HistoryView::ItemPreview PreviewWithSender(
preview.imagesInTextPosition = (textWithOffset.offset < 0)
? 0
: textWithOffset.offset + sender.size();
return preview;
return std::move(preview);
}
} // namespace Dialogs::Ui