We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 325a5b1 commit 3b5f80dCopy full SHA for 3b5f80d
1 file changed
src/application/main.cpp
@@ -304,10 +304,9 @@ int main(int argc, char **argv)
304
float_mode ? PopSift::FloatImages : PopSift::ByteImages );
305
306
std::queue<SiftJob*> jobs;
307
- for( auto it = inputFiles.begin(); it!=inputFiles.end(); it++ ) {
308
- inputFile = it->c_str();
309
-
310
- SiftJob* job = process_image( inputFile, PopSift );
+ for(const auto& currFile : inputFiles)
+ {
+ SiftJob* job = process_image( currFile, PopSift );
311
jobs.push( job );
312
}
313
0 commit comments