mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +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:
parent
6bc22dcee2
commit
ee27485218
@ -661,7 +661,7 @@ namespace upm {
|
||||
/**
|
||||
* MPU60X0 Destructor
|
||||
*/
|
||||
~MPU60X0();
|
||||
virtual ~MPU60X0();
|
||||
|
||||
/**
|
||||
* set up initial values and start operation
|
||||
|
@ -75,7 +75,7 @@ namespace upm {
|
||||
/**
|
||||
* MPU9150 destructor
|
||||
*/
|
||||
~MPU9150 ();
|
||||
virtual ~MPU9150 ();
|
||||
|
||||
/**
|
||||
* Set up initial values and start operation
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user