diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-11-07 15:02:56 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-11-07 15:02:56 +0200 |
commit | 8534f71eedbb421ca3e961c5adc96e5048c4e685 (patch) | |
tree | 47b1a69f357c21de0a2326a450340f0fb2a925ca | |
parent | Merge pull request #4818 (diff) | |
parent | build: fix Ubuntu 16.04 (GCC 5.4.0) compilation (diff) | |
download | monero-8534f71eedbb421ca3e961c5adc96e5048c4e685.tar.xz |
Merge pull request #4814
840bf155 build: fix Ubuntu 16.04 (GCC 5.4.0) compilation (xiphon)
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 58ed5dcad..ebf857b78 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -11069,7 +11069,8 @@ std::string wallet2::export_outputs_to_str() const std::stringstream oss; boost::archive::portable_binary_oarchive ar(oss); - ar << export_outputs(); + const auto& outputs = export_outputs(); + ar << outputs; std::string magic(OUTPUT_EXPORT_FILE_MAGIC, strlen(OUTPUT_EXPORT_FILE_MAGIC)); const cryptonote::account_public_address &keys = get_account().get_keys().m_account_address; |