forked from OSchip/llvm-project
[BOLT][NFC] Fix warning for unqualified call to std::move
Fixes warning from RetpolineInsertion.cpp:171:44: warning: unqualified call to std::move [-Wunqualified-std-cast-call] Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D124482
This commit is contained in:
parent
33e8ab8ea0
commit
a0b8ab1ba3
|
@ -168,7 +168,7 @@ BinaryFunction *createNewRetpoline(BinaryContext &BC,
|
|||
MCInst Return;
|
||||
MIB.createReturn(Return);
|
||||
BB2.addInstruction(Return);
|
||||
NewRetpoline->insertBasicBlocks(nullptr, move(NewBlocks),
|
||||
NewRetpoline->insertBasicBlocks(nullptr, std::move(NewBlocks),
|
||||
/* UpdateLayout */ true,
|
||||
/* UpdateCFIState */ false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue