forked from OSchip/llvm-project
[Object] Remove redundant std::move.
Found by -Wpessimizing-move. llvm-svn: 305595
This commit is contained in:
parent
3abb10268d
commit
74b4ded0c2
|
@ -353,7 +353,7 @@ WindowsResourceCOFFWriter::WindowsResourceCOFFWriter(
|
|||
StringTable(Parser.getStringTable()) {
|
||||
performFileLayout();
|
||||
|
||||
OutputBuffer = std::move(MemoryBuffer::getNewMemBuffer(FileSize));
|
||||
OutputBuffer = MemoryBuffer::getNewMemBuffer(FileSize);
|
||||
}
|
||||
|
||||
void WindowsResourceCOFFWriter::performFileLayout() {
|
||||
|
|
Loading…
Reference in New Issue