mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-09 09:32:20 +00:00
Fix build error for VC STL, use llvm::make_unique
llvm-svn: 365548
This commit is contained in:
parent
51c2b99eff
commit
c236eeaf7d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user