[lld] r266318 - Add missing typename.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 14 07:59:33 PDT 2016
>--- lld/trunk/ELF/Writer.cpp (original)
>+++ lld/trunk/ELF/Writer.cpp Thu Apr 14 09:40:38 2016
>@@ -1102,7 +1102,7 @@ template <class ELFT> void Writer<ELFT>:
> if (!isOutputDynamic())
> Symtab.addIgnored("__tls_get_addr");
>
>- auto Define = [this](StringRef S, ElfSym<ELFT>::SymPair &Sym) {
>+ auto Define = [this](StringRef S, typename ElfSym<ELFT>::SymPair &Sym) {
> Sym.first = Symtab.addIgnored(S, STV_DEFAULT);
Thanks. MSVS allows to do too much sometimes.
George.
More information about the llvm-commits
mailing list