mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
Wnon-virtual-dtor: Fixed all virtual functions w/o virtual destructor
This commit addresses all warnings emitted from -Wnon-virtual-dtor in the C++ src. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -72,7 +72,7 @@ namespace upm {
|
||||
/**
|
||||
* GroveCircularLED destructor
|
||||
*/
|
||||
~GroveCircularLED();
|
||||
virtual ~GroveCircularLED();
|
||||
|
||||
/**
|
||||
* Sets the spinner (turns off all LEDs but selected one)
|
||||
|
@ -78,7 +78,7 @@ namespace upm {
|
||||
/**
|
||||
* GroveLEDBar destructor
|
||||
*/
|
||||
~GroveLEDBar();
|
||||
virtual ~GroveLEDBar();
|
||||
|
||||
/**
|
||||
* Sets the bar level
|
||||
|
@ -63,7 +63,7 @@ namespace upm {
|
||||
/**
|
||||
* MY9221 destructor
|
||||
*/
|
||||
~MY9221();
|
||||
virtual ~MY9221();
|
||||
|
||||
/**
|
||||
* Enable or disable auto refresh. When auto refresh is enabled,
|
||||
|
Reference in New Issue
Block a user