Fix build

This commit is contained in:
kssenii 2021-08-24 07:30:33 +00:00
parent b536653851
commit 14b87feb27

View File

@ -206,7 +206,7 @@ bool IStorage::isReadOnly() const
auto storage_policy = getStoragePolicy();
if (storage_policy)
{
for (const auto disk : storage_policy->getDisks())
for (const auto & disk : storage_policy->getDisks())
if (!disk->isReadOnly())
return false;
return true;