aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew de los Reyes <adlr@google.com>2015-09-04 14:13:03 -0700
committerAndrew Duggan <aduggan@synaptics.com>2015-09-10 11:16:24 -0700
commit074c44877931621f32459e80e105e10a9119bcc8 (patch)
treef7a2fdb81e34237093cb793d34e06657d8363b36
parent040d599b47f9366e8f284aa8ee65ecd073567bbb (diff)
downloadrmi4utils-074c44877931621f32459e80e105e10a9119bcc8.tar.gz
RMIDevice: Make dtor vitual
To avoid compilation warning
-rw-r--r--rmidevice/rmidevice.h1
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;