Doug Anson / C027_Support

Fork of C027_Support by u-blox

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Mon Jun 30 22:16:59 2014 +0000
Parent:
90:3915192f6d7e
Commit message:
fixed warning messages about nonvirtual destructors

Changed in this revision

GPS.h Show annotated file Show diff for this revision Revisions of this file
MDM.h Show annotated file Show diff for this revision Revisions of this file
SerialPipe.h Show annotated file Show diff for this revision Revisions of this file
--- a/GPS.h	Fri Jun 06 15:01:03 2014 +0000
+++ b/GPS.h	Mon Jun 30 22:16:59 2014 +0000
@@ -181,7 +181,7 @@
               int txSize    = 128 );
               
     //! Destructor
-    ~GPSSerial(void);
+    virtual ~GPSSerial(void);
     
     virtual bool init(PinName pn = NC);
     
--- a/MDM.h	Fri Jun 06 15:01:03 2014 +0000
+++ b/MDM.h	Mon Jun 30 22:16:59 2014 +0000
@@ -575,7 +575,7 @@
               int rxSize    = 256 , 
               int txSize    = 128 );
     //! Destructor          
-    ~MDMSerial(void);
+    virtual ~MDMSerial(void);
     
     /** Get a line from the physical interface. 
         \param buf the buffer to store it
--- a/SerialPipe.h	Fri Jun 06 15:01:03 2014 +0000
+++ b/SerialPipe.h	Mon Jun 30 22:16:59 2014 +0000
@@ -20,7 +20,7 @@
     
     /** Destructor
     */
-    ~SerialPipe(void);
+    virtual ~SerialPipe(void);
     
     // tx channel
     //----------------------------------------------------