1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02: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?

llvm-svn: 222968
This commit is contained in:
Hans Wennborg 2014-11-30 00:31:49 +00:00
parent 973c525e58
commit b74f5370d2

View File

@ -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));
}