Do not prevent copy elision.
This commit is contained in:
parent
97f45536c3
commit
6e1865dafb
@ -211,7 +211,7 @@ namespace cling {
|
||||
|
||||
std::vector<std::unique_ptr<ASTConsumer>> Consumers;
|
||||
Consumers.push_back(std::move(wrapper));
|
||||
Consumers.push_back(std::move(m_Interpreter->getCI()->takeASTConsumer()));
|
||||
Consumers.push_back(m_Interpreter->getCI()->takeASTConsumer());
|
||||
|
||||
std::unique_ptr<clang::MultiplexConsumer> multiConsumer(
|
||||
new clang::MultiplexConsumer(std::move(Consumers)));
|
||||
|
Loading…
Reference in New Issue
Block a user