Skip to content

Commit

Permalink
Merge pull request #4087 from Holzhaus/engineprime-loop-analysis
Browse files Browse the repository at this point in the history
EnginePrimeExportJob: Fix clazy range loop detach warning
  • Loading branch information
uklotzde committed Jul 8, 2021
2 parents a63b836 + b73c701 commit 466b3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/export/engineprimeexportjob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ void exportCrate(
auto extCrate = pExtRootCrate->create_sub_crate(crate.getName().toStdString());

// Loop through all track ids in this crate and add.
for (const auto trackId : trackIds) {
for (const auto& trackId : trackIds) {
const auto extTrackId = mixxxToEnginePrimeTrackIdMap[trackId];
extCrate.add_track(extTrackId);
}
Expand Down

0 comments on commit 466b3d7

Please sign in to comment.