Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / html / InputType.cpp
index 0ca2f3b..99df629 100644 (file)
@@ -164,9 +164,7 @@ std::unique_ptr<InputType> InputType::createText(HTMLInputElement& element)
     return std::make_unique<TextInputType>(element);
 }
 
-InputType::~InputType()
-{
-}
+InputType::~InputType() = default;
 
 bool InputType::themeSupportsDataListUI(InputType* type)
 {