mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Qualify one more make_unique call.
The previous patch had effect, but missed this one. It seems MSVC gets ADL-confused by the calls where the first argument is a function call? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222968 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
45f731aead
commit
e1e5343d13
@ -2169,8 +2169,8 @@ bool TGParser::ParseClass() {
|
||||
+ "' already defined");
|
||||
} else {
|
||||
// If this is the first reference to this class, create and add it.
|
||||
auto NewRec = make_unique<Record>(Lex.getCurStrVal(), Lex.getLoc(),
|
||||
Records);
|
||||
auto NewRec =
|
||||
llvm::make_unique<Record>(Lex.getCurStrVal(), Lex.getLoc(), Records);
|
||||
CurRec = NewRec.get();
|
||||
Records.addClass(std::move(NewRec));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user