Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / rendering / RenderRuby.cpp
index d53f74a..23e1e09 100644 (file)
@@ -127,9 +127,7 @@ RenderRubyAsInline::RenderRubyAsInline(Element& element, RenderStyle&& style)
 {
 }
 
-RenderRubyAsInline::~RenderRubyAsInline()
-{
-}
+RenderRubyAsInline::~RenderRubyAsInline() = default;
 
 void RenderRubyAsInline::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
 {
@@ -236,9 +234,7 @@ RenderRubyAsBlock::RenderRubyAsBlock(Element& element, RenderStyle&& style)
 {
 }
 
-RenderRubyAsBlock::~RenderRubyAsBlock()
-{
-}
+RenderRubyAsBlock::~RenderRubyAsBlock() = default;
 
 void RenderRubyAsBlock::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
 {