mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
Tidy up buffer_front
This commit is contained in:
@ -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