Merge pull request #1961 from zoddicus/fixChromiumRoll

Remove std::move that is breaking chromium roll
This commit is contained in:
John Kessenich 2019-11-05 01:05:10 -07:00 committed by GitHub
commit 5d0e01d9e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -252,7 +252,7 @@ public:
assert(header != nullptr); assert(header != nullptr);
Instruction* branch = new Instruction(OpBranch); Instruction* branch = new Instruction(OpBranch);
branch->addIdOperand(header->getId()); branch->addIdOperand(header->getId());
addInstruction(std::move(std::unique_ptr<Instruction>(branch))); addInstruction(std::unique_ptr<Instruction>(branch));
successors.push_back(header); successors.push_back(header);
} }