Skip to content

Commit

Permalink
clazy: Add const qualification to range-for loop of std::array.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Sep 3, 2020
1 parent 2c12acd commit 603d6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/backendhousekeeper.cpp
Expand Up @@ -216,7 +216,7 @@ void CleanupTask::CleanupRecordedTables(void)
return;
}

for (auto [table,column] : tables)
for (const auto & [table,column] : tables)
{
query.prepare(QString("TRUNCATE TABLE temprecordedcleanup;"));
if (!query.exec() || !query.isActive())
Expand Down

0 comments on commit 603d6ea

Please sign in to comment.