diff --git a/src/emu/dislot.cpp b/src/emu/dislot.cpp index 416030834c8..5489cdc4453 100644 --- a/src/emu/dislot.cpp +++ b/src/emu/dislot.cpp @@ -21,7 +21,6 @@ device_slot_interface::~device_slot_interface() } device_slot_option::device_slot_option(const char *name, const device_type &devtype): - m_next(nullptr), m_name(name), m_devtype(devtype), m_selectable(true), diff --git a/src/emu/dislot.h b/src/emu/dislot.h index e81652738ae..a5e6d3edfc1 100644 --- a/src/emu/dislot.h +++ b/src/emu/dislot.h @@ -67,12 +67,10 @@ class device_slot_option { friend class device_slot_interface; - friend class simple_list; public: device_slot_option(const char *name, const device_type &devtype); - device_slot_option *next() const { return m_next; } const char *name() const { return m_name; } const device_type &devtype() const { return m_devtype; } bool selectable() const { return m_selectable; } @@ -83,7 +81,6 @@ public: private: // internal state - device_slot_option *m_next; const char *m_name; const device_type &m_devtype; bool m_selectable;