Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / platform / image-decoders / webp / WEBPImageDecoder.cpp
index 47a34a6..d16f6c2 100644 (file)
@@ -38,9 +38,7 @@ WEBPImageDecoder::WEBPImageDecoder(AlphaOption alphaOption, GammaAndColorProfile
 {
 }
 
-WEBPImageDecoder::~WEBPImageDecoder()
-{
-}
+WEBPImageDecoder::~WEBPImageDecoder() = default;
 
 void WEBPImageDecoder::setData(SharedBuffer& data, bool allDataReceived)
 {