[Object] Remove redundant std::move.

Found by -Wpessimizing-move.

llvm-svn: 305595
This commit is contained in:
Benjamin Kramer 2017-06-16 21:27:12 +00:00
parent 3abb10268d
commit 74b4ded0c2
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ WindowsResourceCOFFWriter::WindowsResourceCOFFWriter(
StringTable(Parser.getStringTable()) {
performFileLayout();
OutputBuffer = std::move(MemoryBuffer::getNewMemBuffer(FileSize));
OutputBuffer = MemoryBuffer::getNewMemBuffer(FileSize);
}
void WindowsResourceCOFFWriter::performFileLayout() {