Make getSymbols non-virtual. NFC.
llvm-svn: 246731
diff --git a/lld/ELF/InputFiles.h b/lld/ELF/InputFiles.h
index 78996ee..8a0a0be5 100644
--- a/lld/ELF/InputFiles.h
+++ b/lld/ELF/InputFiles.h
@@ -27,9 +27,6 @@
Kind kind() const { return FileKind; }
virtual ~InputFile() {}
- // Returns symbols defined by this file.
- virtual ArrayRef<SymbolBody *> getSymbols() = 0;
-
// Reads a file (constructors don't do that).
virtual void parse() = 0;
@@ -52,7 +49,7 @@
: InputFile(ObjectKind, M), EKind(EKind) {}
static bool classof(const InputFile *F) { return F->kind() == ObjectKind; }
- ArrayRef<SymbolBody *> getSymbols() override { return SymbolBodies; }
+ ArrayRef<SymbolBody *> getSymbols() { return SymbolBodies; }
virtual bool isCompatibleWith(const ObjectFileBase &Other) const = 0;