OSDN Git Service

Add virtual destructor.
[android-x86/hardware-libhardware_legacy.git] / 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