diff --git a/bolt/lib/Passes/RetpolineInsertion.cpp b/bolt/lib/Passes/RetpolineInsertion.cpp --- a/bolt/lib/Passes/RetpolineInsertion.cpp +++ b/bolt/lib/Passes/RetpolineInsertion.cpp @@ -168,7 +168,7 @@ MCInst Return; MIB.createReturn(Return); BB2.addInstruction(Return); - NewRetpoline->insertBasicBlocks(nullptr, move(NewBlocks), + NewRetpoline->insertBasicBlocks(nullptr, std::move(NewBlocks), /* UpdateLayout */ true, /* UpdateCFIState */ false);