diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-24 18:12:41 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-24 18:12:44 +0200 |
commit | 0eaee358bec90a0848f37d60c56fbb768a42b74b (patch) | |
tree | 8a5db9fc731611269e7a84687d8282bc2b803f45 | |
parent | Merge pull request #558 (diff) | |
parent | fixed missing parenthesis (diff) | |
download | monero-0eaee358bec90a0848f37d60c56fbb768a42b74b.tar.xz |
Merge pull request #559
47ca455 fixed missing parenthesis (Riccardo Spagni)
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 1210e8521..8c41e1ec9 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1297,7 +1297,7 @@ void wallet2::store() std::error_code e = tools::replace_file(m_wallet_file, old_file); THROW_WALLET_EXCEPTION_IF(e, error::file_save_error, m_wallet_file, e); } - std::error_code e = tools::replace_file(new_file, m_wallet_file + std::error_code e = tools::replace_file(new_file, m_wallet_file); THROW_WALLET_EXCEPTION_IF(e, error::file_save_error, m_wallet_file, e); boost::filesystem::remove(old_file); } |