Added virtual destructor to device list to stop gcc complaining about undefined behaviour

This commit is contained in:
Henri Hyyryläinen 2015-04-08 21:08:21 +03:00
parent 188bc2c2ed
commit 22ff1a97a9
1 changed files with 3 additions and 1 deletions

View File

@ -17,10 +17,12 @@ namespace cAudio
class IAudioDeviceList
{
public:
virtual ~IAudioDeviceList() {};
virtual unsigned int getDeviceCount() = 0;
virtual cAudioString getDeviceName(unsigned int idx) = 0;
virtual cAudioString getDeviceDescription(unsigned int idx) = 0;
virtual cAudioString getDefaultDeviceName() = 0;
virtual bool isSupported() = 0;
};
}
}