aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-10-28 00:51:18 -0400
committerluigi1111 <luigi1111w@gmail.com>2022-10-28 00:51:18 -0400
commit5d4ace8caedacef63b7cc7f7dbdcdb912aafad5d (patch)
tree5810ce3331d61d475093b29aba674fc7e2da31d3 /contrib
parentMerge pull request #8597 (diff)
parentepee: dont shrink slice when storing to binary [release] (diff)
downloadmonero-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.cpp2
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);
}