Remove unnecessary template.
llvm-svn: 297293
diff --git a/lld/ELF/Symbols.cpp b/lld/ELF/Symbols.cpp
index 18ba5da..d8c4597 100644
--- a/lld/ELF/Symbols.cpp
+++ b/lld/ELF/Symbols.cpp
@@ -85,7 +85,7 @@
Addend = 0;
}
- const OutputSection *OutSec = IS->getOutputSection<ELFT>();
+ const OutputSection *OutSec = IS->getOutputSection();
// In the typical case, this is actually very simple and boils
// down to adding together 3 numbers:
@@ -206,7 +206,7 @@
const OutputSection *SymbolBody::getOutputSection() const {
if (auto *S = dyn_cast<DefinedRegular>(this)) {
if (S->Section)
- return S->Section->template getOutputSection<ELFT>();
+ return S->Section->getOutputSection();
return nullptr;
}