We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e6457a7 + 7fedd59 commit 71dc878Copy full SHA for 71dc878
ydb/library/yql/dq/common/rope_over_buffer.cpp
@@ -37,7 +37,7 @@ TRope MakeReadOnlyRope(TChunkedBuffer&& buffer) {
37
while (!buffer.Empty()) {
38
auto& front = buffer.Front();
39
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()})));
+ result.Insert(result.End(), std::move(chunk));
41
buffer.Erase(front.Buf.size());
42
}
43
0 commit comments