mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 12:57:31 +02:00
Tidy up buffer_front
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Version 84:
|
||||||
|
|
||||||
|
* Tidy up buffer_front
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Version 83:
|
Version 83:
|
||||||
|
|
||||||
* Add flat_static_buffer::mutable_data
|
* Add flat_static_buffer::mutable_data
|
||||||
|
@ -225,7 +225,7 @@ buffer_front(BufferSequence const& buffers)
|
|||||||
{
|
{
|
||||||
auto const first = buffers.begin();
|
auto const first = buffers.begin();
|
||||||
if(first == buffers.end())
|
if(first == buffers.end())
|
||||||
return {nullptr, 0};
|
return {};
|
||||||
return *first;
|
return *first;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user