mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Tweak handling of boost filesystem versions
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user