COFF: disambiguate make_unique (NFC)
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 29 Aug 2016 21:33:01 +0000 (21:33 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 29 Aug 2016 21:33:01 +0000 (21:33 +0000)
This disambiguates `llvm::make_unqiue` and `std::make_unique` for the Windows
buildbots.

llvm-svn: 280014

lld/COFF/Writer.cpp

index 64924aa..6c3a7bd 100644 (file)
@@ -355,11 +355,11 @@ void Writer::createMiscChunks() {
 
   // Create Debug Information Chunks
   if (Config->Debug) {
-    DebugDirectory = make_unique<DebugDirectoryChunk>(DebugRecords);
+    DebugDirectory = llvm::make_unique<DebugDirectoryChunk>(DebugRecords);
 
     // TODO(compnerd) create a coffgrp entry if DebugType::CV is not enabled
     if (Config->DebugTypes & static_cast<unsigned>(coff::DebugType::CV))
-      DebugRecords.push_back(make_unique<CVDebugRecordChunk>());
+      DebugRecords.push_back(llvm::make_unique<CVDebugRecordChunk>());
 
     RData->addChunk(DebugDirectory.get());
     for (const std::unique_ptr<Chunk> &C : DebugRecords)