Beta version 4.9.10: Fix build with GCC.

This commit is contained in:
John Preston 2023-09-22 11:06:03 +04:00
parent 5514ab0ccf
commit a37f7077b0
2 changed files with 0 additions and 6 deletions

View File

@ -178,7 +178,6 @@ void Provider::setSearchQuery(QString query) {
void Provider::refreshViewer() {
_viewerLifetime.destroy();
const auto idForViewer = _aroundId;
const auto session = &_peer->session();
auto ids = (_tab == Tab::Saved)
? Data::SavedStoriesIds(_peer, idForViewer, _idsLimit)
: Data::ArchiveStoriesIds(_peer, idForViewer, _idsLimit);

View File

@ -172,8 +172,6 @@ ReactionView::ReactionView(
}, lifetime());
const auto view = _fake.get();
const auto item = view->data();
const auto entityData = [&] {
const auto &id = _data.reaction;
const auto reactions = &session->data().reactions();
@ -227,9 +225,6 @@ void ReactionView::setupCustomChatStylePalette() {
void ReactionView::setAreaGeometry(QRect geometry) {
_size = std::min(geometry.width(), geometry.height());
const auto scaled = [&](float64 scale) {
return int(base::SafeRound(scale * _size));
};
_bubble = _size * kSuggestedBubbleSize;
_bigOffset = _bubble * kSuggestedTailBigOffset;
_bigSize = _bubble * kSuggestedTailBigSize;