From 47ca455ea8a7e9b8367804bb88cce968b2fc9bea Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Thu, 24 Dec 2015 18:11:11 +0200 Subject: fixed missing parenthesis --- src/wallet/wallet2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/wallet2.cpp') 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); } -- cgit v1.2.3