Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / bindings / js / SerializedScriptValue.cpp
index c70ec69..0e24698 100644 (file)
@@ -3143,9 +3143,7 @@ error:
     return std::make_pair(JSValue(), SerializationReturnCode::ValidationError);
 }
 
-SerializedScriptValue::~SerializedScriptValue()
-{
-}
+SerializedScriptValue::~SerializedScriptValue() = default;
 
 SerializedScriptValue::SerializedScriptValue(Vector<uint8_t>&& buffer)
     : m_data(WTFMove(buffer))