File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -193,13 +193,13 @@ struct qVectorsTable {
193193 for (DeviceSpec const & device : workflows.devices ) {
194194 for (auto const & input : device.inputs ) {
195195 if (input.matcher .binding == " Qvectors" ) {
196- for (auto det : useDetector) {
196+ for (auto const & det : useDetector) {
197197 useDetector[det.first .data ()] = true ;
198198 }
199199 LOGF (info, " Using all detectors." );
200200 goto allDetectorsInUse; // Added to break from nested loop if all detectors are in use.
201201 }
202- for (auto det : useDetector) {
202+ for (auto const & det : useDetector) {
203203 std::string table_name_with_vector = det.first ; // for replacing s with Vecs at the end.
204204 if (input.matcher .binding == det.first || input.matcher .binding == table_name_with_vector.replace (table_name_with_vector.size () - 1 , 1 , " Vecs" )) {
205205 useDetector[det.first .data ()] = true ;
@@ -470,7 +470,7 @@ struct qVectorsTable {
470470 int nTrkTPCneg = 0 ;
471471 int nTrkTPCall = 0 ;
472472
473- for (auto & trk : track) {
473+ for (auto const & trk : track) {
474474 if (!SelTrack (trk)) {
475475 continue ;
476476 }
You can’t perform that action at this time.
0 commit comments