summaryrefslogtreecommitdiffstats
path: root/lld/ELF/OutputSections.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/OutputSections.h')
-rw-r--r--lld/ELF/OutputSections.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h
index c0fc67c4442..6dca2b57030 100644
--- a/lld/ELF/OutputSections.h
+++ b/lld/ELF/OutputSections.h
@@ -107,11 +107,11 @@ public:
virtual void finalize() {}
virtual void writeTo(uint8_t *Buf) = 0;
+ virtual ~OutputSectionBase() = default;
protected:
StringRef Name;
Elf_Shdr Header;
- ~OutputSectionBase() = default;
};
template <class ELFT> class GotSection final : public OutputSectionBase<ELFT> {
OpenPOWER on IntegriCloud