Remove fallbacks for boost_filesystem < v3

Minimum boost version was bumped to 1.47.0 in #8920, which
means the configure step won't even pass with older boost.

This version has boost filesystem v3, which means the
(crappy) fallbacks for older versions can go.
This commit is contained in:
Wladimir J. van der Laan
2017-02-09 09:16:13 +01:00
parent 36f9d3ae6d
commit 056aba2b4f
3 changed files with 0 additions and 39 deletions
-4
View File
@@ -3874,11 +3874,7 @@ bool CWallet::BackupWallet(const std::string& strDest)
pathDest /= strWalletFile;
try {
#if BOOST_VERSION >= 104000
boost::filesystem::copy_file(pathSrc, pathDest, boost::filesystem::copy_option::overwrite_if_exists);
#else
boost::filesystem::copy_file(pathSrc, pathDest);
#endif
LogPrintf("copied %s to %s\n", strWalletFile, pathDest.string());
return true;
} catch (const boost::filesystem::filesystem_error& e) {