-
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.
boost: Fix deprecated use of filesystem::basename, use filesystem::pa…
…th instead
- Loading branch information
1 parent
765bb65
commit 1a7e021
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)) { | ||
|