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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue