-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix_deprecated_boost_basename' into 'master'
boost: Fix deprecated use of filesystem::basename, use filesystem::path instead Closes #266 See merge request sfcgal/SFCGAL!312
- Loading branch information
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/** | ||
/** | ||
* SFCGAL | ||
* | ||
* Copyright (C) 2012-2013 Oslandia <[email protected]> | ||
|
@@ -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)) { | ||
|