mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Version 3.6: Fix build with GCC.
This commit is contained in:
parent
0c03070109
commit
9c57e31256
1 changed files with 2 additions and 2 deletions
|
@ -407,10 +407,10 @@ void WrapWidget::createTopBar() {
|
||||||
manager.loadedRemoved() | rpl::map_to(false)
|
manager.loadedRemoved() | rpl::map_to(false)
|
||||||
) | rpl::start_with_next([=, &manager](bool definitelyHas) {
|
) | rpl::start_with_next([=, &manager](bool definitelyHas) {
|
||||||
const auto has = [&] {
|
const auto has = [&] {
|
||||||
for (const auto id : manager.loadingList()) {
|
for ([[maybe_unused]] const auto id : manager.loadingList()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
for (const auto id : manager.loadedList()) {
|
for ([[maybe_unused]] const auto id : manager.loadedList()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue