mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Use llvm::make_unique to try to fix the windows build.
llvm-svn: 308551
This commit is contained in:
parent
97d945b8c9
commit
279be51a4e
@ -1253,12 +1253,12 @@ std::unique_ptr<DWARFContext>
|
||||
DWARFContext::create(const object::ObjectFile &Obj, const LoadedObjectInfo *L,
|
||||
function_ref<ErrorPolicy(Error)> HandleError) {
|
||||
auto DObj = make_unique<DWARFObjInMemory>(Obj, L, HandleError);
|
||||
return make_unique<DWARFContext>(std::move(DObj));
|
||||
return llvm::make_unique<DWARFContext>(std::move(DObj));
|
||||
}
|
||||
|
||||
std::unique_ptr<DWARFContext>
|
||||
DWARFContext::create(const StringMap<std::unique_ptr<MemoryBuffer>> &Sections,
|
||||
uint8_t AddrSize, bool isLittleEndian) {
|
||||
auto DObj = make_unique<DWARFObjInMemory>(Sections, AddrSize, isLittleEndian);
|
||||
return make_unique<DWARFContext>(std::move(DObj));
|
||||
return llvm::make_unique<DWARFContext>(std::move(DObj));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user