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