Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / xml / XPathResult.cpp
index 65f422d..f6cb6dd 100644 (file)
@@ -58,9 +58,7 @@ XPathResult::XPathResult(Document& document, const Value& value)
     ASSERT_NOT_REACHED();
 }
 
-XPathResult::~XPathResult()
-{
-}
+XPathResult::~XPathResult() = default;
 
 ExceptionOr<void> XPathResult::convertTo(unsigned short type)
 {