mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Version 3.6: Fix build with GCC.
This commit is contained in:
@@ -407,10 +407,10 @@ void WrapWidget::createTopBar() {
|
||||
manager.loadedRemoved() | rpl::map_to(false)
|
||||
) | rpl::start_with_next([=, &manager](bool definitelyHas) {
|
||||
const auto has = [&] {
|
||||
for (const auto id : manager.loadingList()) {
|
||||
for ([[maybe_unused]] const auto id : manager.loadingList()) {
|
||||
return true;
|
||||
}
|
||||
for (const auto id : manager.loadedList()) {
|
||||
for ([[maybe_unused]] const auto id : manager.loadedList()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user