Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / platform / graphics / opentype / OpenTypeMathData.cpp
index 96cde8a..f10e400 100644 (file)
@@ -269,9 +269,7 @@ OpenTypeMathData::OpenTypeMathData(const FontPlatformData&)
 #endif
 }
 
-OpenTypeMathData::~OpenTypeMathData()
-{
-}
+OpenTypeMathData::~OpenTypeMathData() = default;
 
 #if ENABLE(OPENTYPE_MATH)
 float OpenTypeMathData::getMathConstant(const Font& font, MathConstant constant) const