From 279be51a4e2c7fcddeb09e2c2b34e8e7358cf037 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 19 Jul 2017 23:38:54 +0000 Subject: [PATCH] Use llvm::make_unique to try to fix the windows build. llvm-svn: 308551 --- lib/DebugInfo/DWARF/DWARFContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); }