Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / rendering / RenderTextFragment.cpp
index 124473b..7f9aa5f 100644 (file)
@@ -55,9 +55,7 @@ RenderTextFragment::RenderTextFragment(Document& textNode, const String& text)
 {
 }
 
-RenderTextFragment::~RenderTextFragment()
-{
-}
+RenderTextFragment::~RenderTextFragment() = default;
 
 bool RenderTextFragment::canBeSelectionLeaf() const
 {