aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-02-21 17:08:25 +0100
committerWladimir J. van der Laan <[email protected]>2017-02-21 17:08:37 +0100
commit5f0556d0326bf6f4d34f7e8b9ada7bbb09cb1df2 (patch)
treeb028bb365e8d83b1eb2449468731c4af150a015e /src/wallet/wallet.cpp
parentMerge #9817: Fix segfault crash when shutdown the GUI in disablewallet mode (diff)
parentRemove fallbacks for boost_filesystem < v3 (diff)
downloaddiscoin-5f0556d0326bf6f4d34f7e8b9ada7bbb09cb1df2.tar.xz
discoin-5f0556d0326bf6f4d34f7e8b9ada7bbb09cb1df2.zip
Merge #9727: Remove fallbacks for boost_filesystem < v3
056aba2 Remove fallbacks for boost_filesystem < v3 (Wladimir J. van der Laan)
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index c5be732cc..8df15a060 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -3892,11 +3892,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) {