Tidy up buffer_front

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:32 -07:00
1 parent 271922e752
commit 85cd2b125b
2 files changed
+7 -1

No files matched your search

+1 -1
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;
}