Skip to content

Commit

Permalink
Fix compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyastolfi committed Mar 29, 2024
1 parent 27b3622 commit 9867aab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/llfs/ioring_stream_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,16 +241,16 @@ void IoRingStreamBuffer::Fragment::push(BufferView&& view)
//
void IoRingStreamBuffer::Fragment::push(const Fragment& fragment)
{
for (const BufferView& part : fragment) {
this->push(part);
for (const BufferView& part : fragment.views_) {
this->push(batt::make_copy(part));
}
}

//==#==========+==+=+=++=+++++++++++-+-+--+----- --- -- - - - -
//
void IoRingStreamBuffer::Fragment::push(Fragment&& fragment)
{
for (BufferView& part : fragment) {
for (BufferView& part : fragment.views_) {
this->push(std::move(part));
}
}
Expand Down

0 comments on commit 9867aab

Please sign in to comment.