Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / dom / RejectedPromiseTracker.cpp
index 2d93d07..21602e6 100644 (file)
@@ -84,9 +84,7 @@ RejectedPromiseTracker::RejectedPromiseTracker(ScriptExecutionContext& context,
 {
 }
 
-RejectedPromiseTracker::~RejectedPromiseTracker()
-{
-}
+RejectedPromiseTracker::~RejectedPromiseTracker() = default;
 
 static RefPtr<ScriptCallStack> createScriptCallStackFromReason(ExecState& state, JSValue reason)
 {