mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Fix Visual C++ error "'llvm::make_unique' : ambiguous call to overloaded function".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c1911b105
commit
80237c1148
@ -3529,9 +3529,9 @@ std::error_code BitcodeReader::InitStreamFromBuffer() {
|
||||
std::error_code BitcodeReader::InitLazyStream() {
|
||||
// Check and strip off the bitcode wrapper; BitstreamReader expects never to
|
||||
// see it.
|
||||
auto OwnedBytes = make_unique<StreamingMemoryObject>(LazyStreamer);
|
||||
auto OwnedBytes = llvm::make_unique<StreamingMemoryObject>(LazyStreamer);
|
||||
StreamingMemoryObject &Bytes = *OwnedBytes;
|
||||
StreamFile = make_unique<BitstreamReader>(std::move(OwnedBytes));
|
||||
StreamFile = llvm::make_unique<BitstreamReader>(std::move(OwnedBytes));
|
||||
Stream.init(&*StreamFile);
|
||||
|
||||
unsigned char buf[16];
|
||||
|
Loading…
Reference in New Issue
Block a user