From: Rafael Espindola Date: Wed, 19 Jul 2017 23:38:54 +0000 (+0000) Subject: Use llvm::make_unique to try to fix the windows build. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d1e86340c83863385d7844d3289505dbf4f5d6c;p=llvm Use llvm::make_unique to try to fix the windows build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308551 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/DebugInfo/DWARF/DWARFContext.cpp b/lib/DebugInfo/DWARF/DWARFContext.cpp index a117a99e0e4..ac4ab258bba 100644 --- a/lib/DebugInfo/DWARF/DWARFContext.cpp +++ b/lib/DebugInfo/DWARF/DWARFContext.cpp @@ -1253,12 +1253,12 @@ std::unique_ptr DWARFContext::create(const object::ObjectFile &Obj, const LoadedObjectInfo *L, function_ref HandleError) { auto DObj = make_unique(Obj, L, HandleError); - return make_unique(std::move(DObj)); + return llvm::make_unique(std::move(DObj)); } std::unique_ptr DWARFContext::create(const StringMap> &Sections, uint8_t AddrSize, bool isLittleEndian) { auto DObj = make_unique(Sections, AddrSize, isLittleEndian); - return make_unique(std::move(DObj)); + return llvm::make_unique(std::move(DObj)); }