Remove redundant virtual destructor.

DefinedAtom, which is the base class of ELFCommonAtom, has a
virtual destructor, so this is redundant.

llvm-svn: 231329
This commit is contained in:
Rui Ueyama 2015-03-05 00:55:04 +00:00
parent 7c23707174
commit 4dfb0f0079
1 changed files with 1 additions and 3 deletions

View File

@ -601,10 +601,8 @@ public:
const void *it = reinterpret_cast<const void *>(index);
return reference_iterator(*this, it);
}
protected:
virtual ~ELFCommonAtom() {}
const Reference *derefIterator(const void *iter) const override {
return nullptr;
}