diff options
author | luigi1111 <luigi1111w@gmail.com> | 2022-10-28 00:51:18 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2022-10-28 00:51:18 -0400 |
commit | 5d4ace8caedacef63b7cc7f7dbdcdb912aafad5d (patch) | |
tree | 5810ce3331d61d475093b29aba674fc7e2da31d3 /contrib | |
parent | Merge pull request #8597 (diff) | |
parent | epee: dont shrink slice when storing to binary [release] (diff) | |
download | monero-5d4ace8caedacef63b7cc7f7dbdcdb912aafad5d.tar.xz |
Merge pull request #8578
07f8e9e epee: dont shrink slice when storing to binary [release] (Jeffrey Ryan)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/epee/src/portable_storage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/src/portable_storage.cpp b/contrib/epee/src/portable_storage.cpp index b922cc9e3..cedc58e46 100644 --- a/contrib/epee/src/portable_storage.cpp +++ b/contrib/epee/src/portable_storage.cpp @@ -49,7 +49,7 @@ namespace serialization byte_stream ss; ss.reserve(initial_buffer_size); store_to_binary(ss); - target = epee::byte_slice{std::move(ss)}; + target = epee::byte_slice{std::move(ss), false}; return true; CATCH_ENTRY("portable_storage::store_to_binary", false); } |