diff options
author | Wohlstand <admin@wohlnet.ru> | 2024-05-11 04:40:33 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2024-05-11 04:40:33 +0300 |
commit | 2309ed8575f2267fc5ee250377982ae07364e40b (patch) | |
tree | 2752e95e72b13a25adce1624bf1c7b86c11a9ff7 /src/chips/opl_serial_port.h | |
parent | 40af837e64145b97e9e2e6392e593dc685433efa (diff) | |
download | libADLMIDI-2309ed8575f2267fc5ee250377982ae07364e40b.tar.gz libADLMIDI-2309ed8575f2267fc5ee250377982ae07364e40b.tar.bz2 libADLMIDI-2309ed8575f2267fc5ee250377982ae07364e40b.zip |
opl_serial_port: Fixed the polymorphism
Diffstat (limited to 'src/chips/opl_serial_port.h')
-rw-r--r-- | src/chips/opl_serial_port.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <string> #include "opl_chip_base.h" -class ChipSerialPort; +class ChipSerialPortBase; class OPL_SerialPort : public OPLChipBaseT<OPL_SerialPort> { @@ -56,7 +56,7 @@ public: ChipType chipType() override; private: - ChipSerialPort *m_port; + ChipSerialPortBase *m_port; int m_protocol; }; |