summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputSection.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/InputSection.h')
-rw-r--r--lld/ELF/InputSection.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lld/ELF/InputSection.h b/lld/ELF/InputSection.h
index 98a3d9d4cb0..d0170d4f011 100644
--- a/lld/ELF/InputSection.h
+++ b/lld/ELF/InputSection.h
@@ -27,7 +27,7 @@ class DefinedCommon;
class SymbolBody;
struct SectionPiece;
-template <class ELFT> class DefinedRegular;
+class DefinedRegular;
template <class ELFT> class EhFrameSection;
template <class ELFT> class MergeSyntheticSection;
template <class ELFT> class ObjectFile;
@@ -117,8 +117,7 @@ public:
return getFile<ELFT>()->getObj();
}
- template <class ELFT>
- uint64_t getOffset(const DefinedRegular<ELFT> &Sym) const;
+ template <class ELFT> uint64_t getOffset(const DefinedRegular &Sym) const;
template <class ELFT> InputSectionBase *getLinkOrderDep() const;
// Translate an offset in the input section to an offset in the output
OpenPOWER on IntegriCloud