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 1a7e021
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
1.5.2 (2024-03-XX):
* Expose as_vtk to C Api (Loïc Bartoletti)
* Fix build with boost 1.85 (Dirk Stöcker, Fixes #266)
1.5.1 (2023-12-21):
* Rewrite and fix visibility algorithm (Loïc Bartoletti)
* Apply clang-tidy fixes (Loïc Bartoletti)
Expand Down
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 1a7e021

Please sign in to comment.