Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / xml / XPathExpression.cpp
index daca469..e212b90 100644 (file)
@@ -51,9 +51,7 @@ ExceptionOr<Ref<XPathExpression>> XPathExpression::createExpression(const String
     return adoptRef(*new XPathExpression(parseResult.releaseReturnValue()));
 }
 
-XPathExpression::~XPathExpression()
-{
-}
+XPathExpression::~XPathExpression() = default;
 
 // FIXME: Why does this take an XPathResult that it ignores?
 ExceptionOr<Ref<XPathResult>> XPathExpression::evaluate(Node* contextNode, unsigned short type, XPathResult*)