From c37820b898cdb9689debd28f9c66c70a16d3c663 Mon Sep 17 00:00:00 2001 From: Lenny Maiorani Date: Mon, 14 Mar 2022 13:21:51 -0600 Subject: Libraries: Use default constructors/destructors in LibWeb https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler." --- Userland/Libraries/LibWeb/HTML/HTMLFrameElement.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Userland/Libraries/LibWeb/HTML/HTMLFrameElement.cpp') diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.cpp index c5163a9da8..6ac1110c6b 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.cpp @@ -13,8 +13,5 @@ HTMLFrameElement::HTMLFrameElement(DOM::Document& document, DOM::QualifiedName q { } -HTMLFrameElement::~HTMLFrameElement() -{ -} - +HTMLFrameElement::~HTMLFrameElement() = default; } -- cgit v1.2.3