OSDN Git Service

Add virtual destructor.
authorMarco Nelissen <marcone@google.com>
Tue, 7 Jul 2009 18:04:11 +0000 (11:04 -0700)
committerMarco Nelissen <marcone@google.com>
Tue, 7 Jul 2009 18:06:20 +0000 (11:06 -0700)
include/hardware_legacy/AudioHardwareInterface.h

index 730e5a9..8d37e4f 100644 (file)
@@ -150,6 +150,8 @@ public:
 class AudioHardwareInterface
 {
 public:
+    virtual ~AudioHardwareInterface() {}
+
     /**
      * check to see if the audio hardware interface has been initialized.
      * return status based on values defined in include/utils/Errors.h