forked from boostorg/beast
Tidy up buffer_front
This commit is contained in:
1 parent
271922e752
commit
85cd2b125b
2 files changed
+7
-1
No files matched your search
@@ -1,3 +1,9 @@
|
||||
Version 84:
|
||||
|
||||
* Tidy up buffer_front
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Version 83:
|
||||
|
||||
* Add flat_static_buffer::mutable_data
|
||||
|
||||
@@ -225,7 +225,7 @@ buffer_front(BufferSequence const& buffers)
|
||||
{
|
||||
auto const first = buffers.begin();
|
||||
if(first == buffers.end())
|
||||
return {nullptr, 0};
|
||||
return {};
|
||||
return *first;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user