AP_HAL_Linux: fix warning due to derived PWM_Sysfs

PWM_Sysfs derives from PWM_Sysfs_Base which was not update to have a
virtual destructor. Make PWM_Sysfs_Base's constructor virtual.
This commit is contained in:
Lucas De Marchi 2015-12-01 16:25:12 -02:00 committed by Andrew Tridgell
parent 8eee888b3e
commit 49abb78372

View File

@ -7,7 +7,7 @@
class Linux::PWM_Sysfs_Base {
public:
~PWM_Sysfs_Base();
virtual ~PWM_Sysfs_Base();
enum Polarity {
NORMAL = 0,