Beta version 3.4.4: Fix build with GCC.

This commit is contained in:
John Preston 2022-01-14 22:57:13 +03:00
parent ab59e97b92
commit acfdae2d72
5 changed files with 1 additions and 5 deletions

View file

@ -796,7 +796,6 @@ HistoryService::PreparedText HistoryService::prepareInvitedToCallText(
Ui::Text::WithEntities);
auto result = PreparedText{};
result.links.push_back(fromLink());
auto linkIndex = 1;
if (linkCallId) {
const auto peer = history()->peer;
result.links.push_back(GroupCallClickHandler(peer, linkCallId));

View file

@ -2141,7 +2141,6 @@ void Message::refreshReactions() {
if (!_reactions) {
const auto handlerFactory = [=](QString emoji) {
const auto weak = base::make_weak(this);
const auto fullId = data()->fullId();
return std::make_shared<LambdaClickHandler>([=] {
if (const auto strong = weak.get()) {
strong->data()->toggleReaction(emoji);

View file

@ -110,7 +110,6 @@ int SendAnimation::computeParabolicTop(
int to,
float64 progress) const {
const auto t = progress;
const auto c = from;
// result = a * t * t + b * t + c

View file

@ -370,7 +370,6 @@ void System::checkDelayed() {
for (auto i = _settingWaiters.begin(); i != _settingWaiters.end();) {
const auto history = i->first;
const auto peer = history->peer;
auto notifyMuted = i->second.alsoMuted;
auto loaded = false;
auto muted = false;
if (!peer->owner().notifyMuteUnknown(peer)) {

@ -1 +1 @@
Subproject commit 513fd602e8e26a3743abb7c76d25d98895a1d6a2
Subproject commit 17fbf3dec42290ed0c00c2458be82f6e8bdd47e9