Remove std::move that is breaking chromium roll
This is causing the following error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move]
This commit is contained in:
parent
90cecb5206
commit
0552c0acc8
@ -252,7 +252,7 @@ public:
|
||||
assert(header != nullptr);
|
||||
Instruction* branch = new Instruction(OpBranch);
|
||||
branch->addIdOperand(header->getId());
|
||||
addInstruction(std::move(std::unique_ptr<Instruction>(branch)));
|
||||
addInstruction(std::unique_ptr<Instruction>(branch));
|
||||
successors.push_back(header);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user