aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-03-20 01:35:13 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-03-20 01:35:13 -0400
commit7bf89dcbd3352d3837da7056bbf0469ed1bec374 (patch)
tree1b526094852f503b7e5643d29024dd0ab158b319 /contrib/epee/include
parentMerge pull request #6810 (diff)
parentAllow byte_stream->byte_slice conversion to shrink unused buffer space (diff)
downloadmonero-7bf89dcbd3352d3837da7056bbf0469ed1bec374.tar.xz
Merge pull request #7005
249eae5 Allow byte_stream->byte_slice conversion to shrink unused buffer space (Lee Clagett)
Diffstat (limited to 'contrib/epee/include')
-rw-r--r--contrib/epee/include/byte_slice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/byte_slice.h b/contrib/epee/include/byte_slice.h
index 6b79f6d92..18d60e088 100644
--- a/contrib/epee/include/byte_slice.h
+++ b/contrib/epee/include/byte_slice.h
@@ -112,7 +112,7 @@ namespace epee
explicit byte_slice(std::string&& buffer);
//! Convert `stream` into a slice with zero allocations.
- explicit byte_slice(byte_stream&& stream) noexcept;
+ explicit byte_slice(byte_stream&& stream, bool shrink = true);
byte_slice(byte_slice&& source) noexcept;
~byte_slice() noexcept = default;