[ORC] Fix an ambiguous make_unique call.

llvm-svn: 333492
This commit is contained in:
Lang Hames 2018-05-30 02:40:40 +00:00
parent 480513a582
commit 17dd1ffa24

View File

@ -63,8 +63,8 @@ JITCompileCallbackManager::getCompileCallback(CompileFunction Compile) {
std::lock_guard<std::mutex> Lock(CCMgrMutex);
AddrToSymbol[*TrampolineAddr] = CallbackName;
cantFail(
CallbacksVSO.define(make_unique<CompileCallbackMaterializationUnit>(
cantFail(CallbacksVSO.define(
llvm::make_unique<CompileCallbackMaterializationUnit>(
std::move(CallbackName), std::move(Compile))));
return *TrampolineAddr;
} else