Skip to content

Commit 551d648

Browse files
committed
std::move
1 parent 31762fc commit 551d648

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/renderer/uia/UiaRenderer.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,7 @@ CATCH_LOG_RETURN_HR(E_FAIL);
239239
// so present can work on the copy while another
240240
// thread might start filling the next "frame"
241241
// worth of text data.
242-
_queuedOutput = _newOutput;
243-
_newOutput.clear();
242+
_queuedOutput = std::move(_newOutput);
244243
return S_OK;
245244
}
246245

0 commit comments

Comments
 (0)