diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-02-21 17:08:25 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-02-21 17:08:37 +0100 |
| commit | 5f0556d0326bf6f4d34f7e8b9ada7bbb09cb1df2 (patch) | |
| tree | b028bb365e8d83b1eb2449468731c4af150a015e /src/wallet/wallet.cpp | |
| parent | Merge #9817: Fix segfault crash when shutdown the GUI in disablewallet mode (diff) | |
| parent | Remove fallbacks for boost_filesystem < v3 (diff) | |
| download | discoin-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.cpp | 4 |
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) { |