diff --git a/lib/Interpreter/InterpreterCallbacks.cpp b/lib/Interpreter/InterpreterCallbacks.cpp index 04552327..2e4e3b94 100644 --- a/lib/Interpreter/InterpreterCallbacks.cpp +++ b/lib/Interpreter/InterpreterCallbacks.cpp @@ -211,7 +211,7 @@ namespace cling { std::vector> 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 multiConsumer( new clang::MultiplexConsumer(std::move(Consumers)));