Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / bindings / js / ScriptWrappable.h
index fc0dca0..46a88b9 100644 (file)
@@ -51,7 +51,7 @@ public:
     static ptrdiff_t offsetOfWrapper() { return CAST_OFFSET(Derived*, ScriptWrappable*) + OBJECT_OFFSETOF(ScriptWrappable, m_wrapper); }
 
 protected:
-    ~ScriptWrappable() { }
+    ~ScriptWrappable() = default;
 
 private:
     JSC::Weak<JSDOMObject> m_wrapper;