Skip to content

Commit

Permalink
boost: Fix deprecated use of filesystem::basename, use filesystem::pa…
Browse files Browse the repository at this point in the history
…th instead
  • Loading branch information
lbartoletti committed Apr 29, 2024
1 parent 765bb65 commit f8d2f37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/regress/standalone/SFCGAL/StraightSkeletonTest.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/**
* SFCGAL
*
* Copyright (C) 2012-2013 Oslandia <[email protected]>
Expand Down Expand Up @@ -60,7 +60,7 @@ runTest(const boost::filesystem::path::string_type &filename)
BOOST_REQUIRE(ifs.good());

std::string line;
std::string const lbl_base = boost::filesystem::basename(filename);
std::string const lbl_base = boost::filesystem::path(filename).filename().string();

int lineno = 0;
while (std::getline(ifs, line)) {
Expand Down

0 comments on commit f8d2f37

Please sign in to comment.