[ELF] - Remove unnecessary template #4. NFC.
OutputSectionFactory has no ELFT templates anymore.
llvm-svn: 297720
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index 85312fb..4ee9e1b 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -375,7 +375,7 @@
// Add input sections to an output section.
for (InputSectionBase *S : V)
- Factory.addInputSec<ELFT>(S, Cmd->Name);
+ Factory.addInputSec(S, Cmd->Name);
}
}
CurOutSec = nullptr;
@@ -386,7 +386,7 @@
void LinkerScript<ELFT>::addOrphanSections(OutputSectionFactory &Factory) {
for (InputSectionBase *S : InputSections)
if (S->Live && !S->OutSec)
- Factory.addInputSec<ELFT>(S, getOutputSectionName(S->Name));
+ Factory.addInputSec(S, getOutputSectionName(S->Name));
}
template <class ELFT> static bool isTbss(OutputSection *Sec) {