mirror of
https://github.com/holub/mame
synced 2025-05-21 21:29:15 +03:00
Add virtual destructor to pacify GCC < 4.2 (no whatsnew)
This commit is contained in:
parent
921d898e5c
commit
ad13dfa233
@ -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); }
|
||||||
|
Loading…
Reference in New Issue
Block a user