Kaydet (Commit) e710170d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Avoid ambiguity with C++14 std::make_unique

Change-Id: I81b8bed175527bab02ffdd2fa17fa6a66c243d95
üst 106a9607
......@@ -244,7 +244,7 @@ void PluginHandler::HandleTranslationUnit( ASTContext& context )
#if (__clang_major__ == 3 && __clang_minor__ >= 6) || __clang_major__ > 3
std::unique_ptr<ASTConsumer> LibreOfficeAction::CreateASTConsumer( CompilerInstance& Compiler, StringRef )
{
return make_unique<PluginHandler>( Compiler, _args );
return llvm::make_unique<PluginHandler>( Compiler, _args );
}
#else
ASTConsumer* LibreOfficeAction::CreateASTConsumer( CompilerInstance& Compiler, StringRef )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment