Version 3.6: Fix build with GCC.

This commit is contained in:
John Preston 2022-03-11 17:09:18 +04:00
parent 0c03070109
commit 9c57e31256
1 changed files with 2 additions and 2 deletions

View File

@ -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;