Skip to content

Commit 71dc878

Browse files
authored
Merge 7fedd59 into e6457a7
2 parents e6457a7 + 7fedd59 commit 71dc878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/library/yql/dq/common/rope_over_buffer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ TRope MakeReadOnlyRope(TChunkedBuffer&& buffer) {
3737
while (!buffer.Empty()) {
3838
auto& front = buffer.Front();
3939
TRope chunk(new TContigousChunkOverBuf(front.Owner, {front.Buf.data(), front.Buf.size()}));
40-
result.Insert(result.End(), TRope(new TContigousChunkOverBuf(front.Owner, {front.Buf.data(), front.Buf.size()})));
40+
result.Insert(result.End(), std::move(chunk));
4141
buffer.Erase(front.Buf.size());
4242
}
4343

0 commit comments

Comments
 (0)