Tidy up buffer_front

This commit is contained in:
Vinnie Falco
2017-07-18 17:01:19 -07:00
parent 271922e752
commit 85cd2b125b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Version 84:
* Tidy up buffer_front
--------------------------------------------------------------------------------
Version 83:
* Add flat_static_buffer::mutable_data

View File

@ -225,7 +225,7 @@ buffer_front(BufferSequence const& buffers)
{
auto const first = buffers.begin();
if(first == buffers.end())
return {nullptr, 0};
return {};
return *first;
}