Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / dom / Text.cpp
index fe8c9d4..12d1d24 100644 (file)
@@ -50,9 +50,7 @@ Ref<Text> Text::createEditingText(Document& document, const String& data)
     return adoptRef(*new Text(document, data, CreateEditingText));
 }
 
-Text::~Text()
-{
-}
+Text::~Text() = default;
 
 ExceptionOr<Ref<Text>> Text::splitText(unsigned offset)
 {