Refactor flat_buffer

This commit is contained in:
Richard Hodges authored and Vinnie Falco committed 2020-02-29 10:43:00 -08:00
1 parent fc5399722e
commit 25c8fb4714
2 files changed
+3 -2

No files matched your search

+1 -2
View File
@@ -396,7 +396,6 @@ public:
/// The ConstBufferSequence used to represent the readable bytes.
using const_buffers_type = net::const_buffer;
/// The MutableBufferSequence used to represent the readable bytes.
using mutable_data_type = net::mutable_buffer;
/// The MutableBufferSequence used to represent the writable bytes.
@@ -438,7 +437,7 @@ public:
}
/// Returns a mutable buffer sequence representing the readable bytes
mutable_data_type
mutable_buffers_type
data() noexcept
{
return {in_, dist(in_, out_)};