diff options
Diffstat (limited to 'lld/ELF/InputFiles.h')
-rw-r--r-- | lld/ELF/InputFiles.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/InputFiles.h b/lld/ELF/InputFiles.h index 78bc2cc0efd..12e3c1e5e64 100644 --- a/lld/ELF/InputFiles.h +++ b/lld/ELF/InputFiles.h @@ -322,10 +322,10 @@ public: explicit BinaryFile(MemoryBufferRef M) : InputFile(BinaryKind, M) {} static bool classof(const InputFile *F) { return F->kind() == BinaryKind; } template <class ELFT> void parse(); - ArrayRef<InputSectionData *> getSections() const { return Sections; } + ArrayRef<InputSectionBase *> getSections() const { return Sections; } private: - std::vector<InputSectionData *> Sections; + std::vector<InputSectionBase *> Sections; }; InputFile *createObjectFile(MemoryBufferRef MB, StringRef ArchiveName = "", |