Skip to content

Commit

Permalink
const correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristof Ralovich committed Jan 29, 2025
1 parent 72bfa47 commit bb6d96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ZeroFileContent::getFitFileTime(const uint16_t idx)
void ZeroFileContent::cullFitFiles(const std::multimap<uint16_t, std::pair<string, size_t> >& db_files)
{
LOG_VAR(db_files.size());
for(auto it : db_files)
for(const auto& it : db_files)
{
cullFitFile(it.first, it.second.second);
}
Expand Down

0 comments on commit bb6d96e

Please sign in to comment.