Merge pull request #33131 from ClickHouse/fix_clang_tidy2

Fix clang tidy
This commit is contained in:
alesapin 2021-12-24 12:42:12 +03:00 committed by GitHub
commit 94b351e6a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,7 +169,7 @@ std::vector<UUID> IAccessStorage::insert(const std::vector<AccessEntityPtr> & mu
if (!successfully_inserted.empty())
{
String successfully_inserted_str;
for (auto entity : successfully_inserted)
for (const auto & entity : successfully_inserted)
{
if (!successfully_inserted_str.empty())
successfully_inserted_str += ", ";