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
@@ -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