mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
distate: Polymorphic classes need virtual destructors (nw)
This commit is contained in:
parent
9308ed99dc
commit
f299029078
@ -85,6 +85,15 @@ device_state_entry::device_state_entry(int index, device_state_interface *dev)
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_state_entry - destructor
|
||||
//-------------------------------------------------
|
||||
|
||||
device_state_entry::~device_state_entry()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// formatstr - specify a format string
|
||||
//-------------------------------------------------
|
||||
|
@ -48,6 +48,7 @@ public:
|
||||
// construction/destruction
|
||||
device_state_entry(int index, const char *symbol, u8 size, u64 sizemask, u8 flags, device_state_interface *dev);
|
||||
device_state_entry(int index, device_state_interface *dev);
|
||||
virtual ~device_state_entry();
|
||||
|
||||
public:
|
||||
// post-construction modifiers
|
||||
|
Loading…
Reference in New Issue
Block a user