diff options
author | Andrew de los Reyes <adlr@google.com> | 2015-09-04 14:13:03 -0700 |
---|---|---|
committer | Andrew Duggan <aduggan@synaptics.com> | 2015-09-10 11:16:24 -0700 |
commit | 074c44877931621f32459e80e105e10a9119bcc8 (patch) | |
tree | f7a2fdb81e34237093cb793d34e06657d8363b36 | |
parent | 040d599b47f9366e8f284aa8ee65ecd073567bbb (diff) | |
download | rmi4utils-074c44877931621f32459e80e105e10a9119bcc8.tar.gz |
RMIDevice: Make dtor vitual
To avoid compilation warning
-rw-r--r-- | rmidevice/rmidevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rmidevice/rmidevice.h b/rmidevice/rmidevice.h index 238d390..48de72b 100644 --- a/rmidevice/rmidevice.h +++ b/rmidevice/rmidevice.h @@ -32,6 +32,7 @@ class RMIDevice public: RMIDevice() : m_functionList(), m_sensorID(0), m_bCancel(false), m_bytesPerReadRequest(0), m_page(-1) {} + virtual ~RMIDevice() {} virtual int Open(const char * filename) = 0; virtual int Read(unsigned short addr, unsigned char *data, unsigned short len) = 0; |