Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / platform / audio / AudioHardwareListener.h
index a59bc20..ae9d94d 100644 (file)
@@ -42,14 +42,14 @@ class AudioHardwareListener : public RefCounted<AudioHardwareListener> {
 public:
     class Client {
     public:
-        virtual ~Client() { }
+        virtual ~Client() = default;
         virtual void audioHardwareDidBecomeActive() = 0;
         virtual void audioHardwareDidBecomeInactive() = 0;
         virtual void audioOutputDeviceChanged() = 0;
     };
 
     WEBCORE_EXPORT static Ref<AudioHardwareListener> create(Client&);
-    virtual ~AudioHardwareListener() { }
+    virtual ~AudioHardwareListener() = default;
     
     AudioHardwareActivityType hardwareActivity() const { return m_activity; }
     bool outputDeviceSupportsLowPowerMode() const { return m_outputDeviceSupportsLowPowerMode; }