Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / html / HTMLAttachmentElement.cpp
index 02e6db7..a6ed961 100644 (file)
@@ -42,9 +42,7 @@ HTMLAttachmentElement::HTMLAttachmentElement(const QualifiedName& tagName, Docum
     ASSERT(hasTagName(attachmentTag));
 }
 
-HTMLAttachmentElement::~HTMLAttachmentElement()
-{
-}
+HTMLAttachmentElement::~HTMLAttachmentElement() = default;
 
 Ref<HTMLAttachmentElement> HTMLAttachmentElement::create(const QualifiedName& tagName, Document& document)
 {