Skip to content

Commit 764f217

Browse files
authored
fix deprecated boost function (#604)
1 parent 2b27136 commit 764f217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SEBenchmarks/src/program/BenchBackgroundModel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class BenchBackgroundModel : public Elements::Program {
8080
if (i != args.end())
8181
return i->second.as<std::string>();
8282
auto input = boost::filesystem::path(m_detection_config.getDetectionImagePath());
83-
auto basename = input.leaf();
83+
auto basename = input.filename();
8484
while (!basename.extension().empty())
8585
basename = basename.stem();
8686
auto algo = args.at("algorithm").as<std::string>();

0 commit comments

Comments
 (0)