Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / inspector / DOMEditor.cpp
index 3fd3703..dfbe4c3 100644 (file)
@@ -342,9 +342,7 @@ DOMEditor::DOMEditor(InspectorHistory& history)
 {
 }
 
-DOMEditor::~DOMEditor()
-{
-}
+DOMEditor::~DOMEditor() = default;
 
 ExceptionOr<void> DOMEditor::insertBefore(Node& parentNode, Ref<Node>&& node, Node* anchorNode)
 {