1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Fix build error for VC STL, use llvm::make_unique

llvm-svn: 365548
This commit is contained in:
Reid Kleckner 2019-07-09 19:51:58 +00:00
parent ee40ff6f51
commit 2ac6ac4829

View File

@ -90,5 +90,5 @@ uint64_t XCOFFObjectWriter::writeObject(MCAssembler &Asm, const MCAsmLayout &) {
std::unique_ptr<MCObjectWriter>
llvm::createXCOFFObjectWriter(std::unique_ptr<MCXCOFFObjectTargetWriter> MOTW,
raw_pwrite_stream &OS) {
return make_unique<XCOFFObjectWriter>(std::move(MOTW), OS);
return llvm::make_unique<XCOFFObjectWriter>(std::move(MOTW), OS);
}