diff options
| author | xiphon <xiphon@protonmail.com> | 2018-11-06 21:45:00 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2018-11-06 21:45:00 +0000 |
| commit | 840bf155a0ed28902de3d0546dec58fac7966131 (patch) | |
| tree | 2872242c021dcae7fe773409a9e1cffcd56ba436 /src/wallet/wallet2.cpp | |
| parent | a9e03ebc6a710f8616367dfa54a218a6b712ae30 (diff) | |
| download | monzero-core-840bf155a0ed28902de3d0546dec58fac7966131.tar.gz monzero-core-840bf155a0ed28902de3d0546dec58fac7966131.tar.xz monzero-core-840bf155a0ed28902de3d0546dec58fac7966131.zip | |
build: fix Ubuntu 16.04 (GCC 5.4.0) compilation
Diffstat (limited to 'src/wallet/wallet2.cpp')
| -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; |
