summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@serenityos.org>2022-03-14 13:21:51 -0600
committerLinus Groh <mail@linusgroh.de>2022-03-17 17:23:49 +0000
commitc37820b898cdb9689debd28f9c66c70a16d3c663 (patch)
treec376e1fadc791bf1c651da4ba0ea1411ac046581 /Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp
parentc0dd188c4defcba2dcae1b14510d494331134e90 (diff)
downloadserenity-c37820b898cdb9689debd28f9c66c70a16d3c663.zip
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."
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp
index fe3716d20c..2fea5861a9 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp
@@ -15,9 +15,7 @@ HTMLTableRowElement::HTMLTableRowElement(DOM::Document& document, DOM::Qualified
{
}
-HTMLTableRowElement::~HTMLTableRowElement()
-{
-}
+HTMLTableRowElement::~HTMLTableRowElement() = default;
// https://html.spec.whatwg.org/multipage/tables.html#dom-tr-cells
NonnullRefPtr<DOM::HTMLCollection> HTMLTableRowElement::cells() const