mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Tweak handling of boost filesystem versions
This commit is contained in:
parent
8d0923109d
commit
c4de918478
2 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ static void EnvShutdown(bool fRemoveLogFiles)
|
|||
while (it != filesystem::directory_iterator())
|
||||
{
|
||||
const filesystem::path& p = it->path();
|
||||
#if BOOST_FILESYSTEM_VERSION == 3
|
||||
#if BOOST_FILESYSTEM_VERSION >= 3
|
||||
std::string f = p.filename().generic_string();
|
||||
#else
|
||||
std::string f = p.filename();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue