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:
Noel Eck 2016-11-02 22:35:53 -07:00
parent 6bc22dcee2
commit ee27485218
5 changed files with 6 additions and 6 deletions

View File

@ -661,8 +661,8 @@ namespace upm {
/**
* MPU60X0 Destructor
*/
~MPU60X0();
virtual ~MPU60X0();
/**
* set up initial values and start operation
*

View File

@ -75,7 +75,7 @@ namespace upm {
/**
* MPU9150 destructor
*/
~MPU9150 ();
virtual ~MPU9150 ();
/**
* Set up initial values and start operation

View File

@ -72,7 +72,7 @@ namespace upm {
/**
* GroveCircularLED destructor
*/
~GroveCircularLED();
virtual ~GroveCircularLED();
/**
* Sets the spinner (turns off all LEDs but selected one)

View File

@ -78,7 +78,7 @@ namespace upm {
/**
* GroveLEDBar destructor
*/
~GroveLEDBar();
virtual ~GroveLEDBar();
/**
* Sets the bar level

View File

@ -63,7 +63,7 @@ namespace upm {
/**
* MY9221 destructor
*/
~MY9221();
virtual ~MY9221();
/**
* Enable or disable auto refresh. When auto refresh is enabled,