Skip to content

Commit

Permalink
AM-74 Add loading of Jpeg simultaneously
Browse files Browse the repository at this point in the history
  • Loading branch information
ben authored and MaksymT17 committed Jul 15, 2024
1 parent aafb877 commit 39220f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extraction/MultipleExtractor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace am
#if defined __unix__ || defined __APPLE__ // note: currently jpeg supported with Unix OS (with libjpeg)
else if (file_ext == "jpg" || file_ext == "jpeg" || file_ext == "jpe")
{
futures.emplace_back(std::async(std::launch::deferred, JpgExtractor::readFile, fileNames[i]));
futures.emplace_back(std::async(std::launch::async, JpgExtractor::readFile, fileNames[i]));
}
#endif
else
Expand Down

0 comments on commit 39220f0

Please sign in to comment.