mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-25 13:35:10 +00:00
Resolve ambiguity between llvm::make_unique and std::make_unique.
Intorduced in r219098. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219105 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d53f7f4b22
commit
a37095eae6
@ -88,8 +88,9 @@ public:
|
||||
DataExtractor Data(Section, LE, 0);
|
||||
uint32_t Offset = 0;
|
||||
while (Data.isValidOffset(Offset)) {
|
||||
auto U = make_unique<UnitType>(Context, DA, Section, RS, SS, SOS, AOS, &M,
|
||||
Data.isLittleEndian(), *this);
|
||||
auto U =
|
||||
llvm::make_unique<UnitType>(Context, DA, Section, RS, SS, SOS, AOS,
|
||||
&M, Data.isLittleEndian(), *this);
|
||||
if (!U->extract(Data, &Offset))
|
||||
break;
|
||||
this->push_back(std::move(U));
|
||||
|
Loading…
Reference in New Issue
Block a user