We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fe997c commit 0ac133aCopy full SHA for 0ac133a
1 file changed
src/applications/detection/main.cpp
@@ -21,7 +21,6 @@
21
#include <boost/archive/xml_oarchive.hpp>
22
#include <boost/exception/all.hpp>
23
#include <boost/filesystem.hpp>
24
-#include <boost/filesystem/convenience.hpp>
25
#include <boost/ptr_container/ptr_list.hpp>
26
#include <boost/timer/timer.hpp>
27
#include <opencv2/core/core.hpp>
@@ -501,7 +500,7 @@ int main(int argc, char** argv)
501
500
tbb::parallel_for(0, 2, [&](size_t fileListIdx) {
502
for(const auto& fileInFolder : files[fileListIdx])
503
{
504
- const std::string subExt(bfs::extension(fileInFolder.second));
+ const std::string subExt(fileInFolder.second.extension().string());
505
506
if((subExt == ".png") || (subExt == ".jpg") || (subExt == ".PNG") || (subExt == ".JPG"))
507
0 commit comments