From 2309ed8575f2267fc5ee250377982ae07364e40b Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sat, 11 May 2024 04:40:33 +0300 Subject: opl_serial_port: Fixed the polymorphism --- src/chips/opl_serial_port.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/chips/opl_serial_port.h') diff --git a/src/chips/opl_serial_port.h b/src/chips/opl_serial_port.h index ec7bc39..346c68e 100644 --- a/src/chips/opl_serial_port.h +++ b/src/chips/opl_serial_port.h @@ -27,7 +27,7 @@ #include #include "opl_chip_base.h" -class ChipSerialPort; +class ChipSerialPortBase; class OPL_SerialPort : public OPLChipBaseT { @@ -56,7 +56,7 @@ public: ChipType chipType() override; private: - ChipSerialPort *m_port; + ChipSerialPortBase *m_port; int m_protocol; }; -- cgit v1.2.3