Add virtual destructor to pacify GCC < 4.2 (no whatsnew)

This commit is contained in:
R. Belmont 2011-03-09 00:07:16 +00:00
parent 921d898e5c
commit ad13dfa233

View File

@ -73,6 +73,7 @@ class hash_base
public: public:
// construction/destruction // construction/destruction
hash_base(char id, const char *name, UINT8 length, UINT8 *bufptr); hash_base(char id, const char *name, UINT8 length, UINT8 *bufptr);
virtual ~hash_base() { }
// operators // operators
bool operator==(const hash_base &rhs) const { return (m_length == rhs.m_length && memcmp(m_bufptr, rhs.m_bufptr, m_length) == 0); } bool operator==(const hash_base &rhs) const { return (m_length == rhs.m_length && memcmp(m_bufptr, rhs.m_bufptr, m_length) == 0); }