diff options
author | Zachary Michaels <mikezackles@gmail.com> | 2014-09-15 16:28:27 -0400 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-09-15 23:14:24 +0200 |
commit | 59ab569da1fa16d379f519f5480c03e39f05b44d (patch) | |
tree | 30589ebd6f5050cbe6e4e34e8ca4a5240d00a0a7 /src/wallet | |
parent | another fix for CMake empty vars (diff) | |
download | monero-59ab569da1fa16d379f519f5480c03e39f05b44d.tar.xz |
Give up on brace initializers in initializer lists (MSVC bug)
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet_errors.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h index 7914ff8e1..ebec931e4 100644 --- a/src/wallet/wallet_errors.h +++ b/src/wallet/wallet_errors.h @@ -383,11 +383,11 @@ namespace tools , uint64_t unlock_time , bool testnet ) - : transfer_error {std::move(loc), "transaction was not constructed"} - , m_sources {sources} - , m_destinations {destinations} - , m_unlock_time {unlock_time} - , m_testnet {testnet} + : transfer_error(std::move(loc), "transaction was not constructed") + , m_sources(sources) + , m_destinations(destinations) + , m_unlock_time(unlock_time) + , m_testnet(testnet) { } @@ -471,10 +471,10 @@ namespace tools , uint64_t fee , bool testnet ) - : transfer_error {std::move(loc), "transaction sum + fee exceeds " + cryptonote::print_money(std::numeric_limits<uint64_t>::max())} - , m_destinations {destinations} - , m_fee {fee} - , m_testnet {testnet} + : transfer_error(std::move(loc), "transaction sum + fee exceeds " + cryptonote::print_money(std::numeric_limits<uint64_t>::max())) + , m_destinations(destinations) + , m_fee(fee) + , m_testnet(testnet) { } |