mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Merge pull request #5840 from yandex/gcc-7-compatibility
Compatibility with old compiler (gcc-7)
This commit is contained in:
commit
7f8c8382ed
@ -403,8 +403,8 @@ public:
|
||||
bool hasCurrentlyLoadedObjects() const
|
||||
{
|
||||
std::lock_guard lock{mutex};
|
||||
for (auto & [name, info] : infos)
|
||||
if (info.loaded())
|
||||
for (auto & name_info : infos)
|
||||
if (name_info.second.loaded())
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user