Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / loader / cache / CachedResourceClient.h
index f5b1b9b..30bb1e8 100644 (file)
@@ -38,7 +38,7 @@ public:
         RawResourceType
     };
 
-    virtual ~CachedResourceClient() { }
+    virtual ~CachedResourceClient() = default;
     virtual void notifyFinished(CachedResource&) { }
     virtual void deprecatedDidReceiveCachedResource(CachedResource&) { }
     virtual bool isXMLHttpRequest() const { return false; }
@@ -48,7 +48,7 @@ public:
     virtual bool shouldMarkAsReferenced() const { return true; }
 
 protected:
-    CachedResourceClient() { }
+    CachedResourceClient() = default;
 };
 
 }