Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / platform / image-decoders / png / PNGImageDecoder.cpp
index c9a1421..a1d5a47 100644 (file)
@@ -231,9 +231,7 @@ PNGImageDecoder::PNGImageDecoder(AlphaOption alphaOption, GammaAndColorProfileOp
 {
 }
 
-PNGImageDecoder::~PNGImageDecoder()
-{
-}
+PNGImageDecoder::~PNGImageDecoder() = default;
 
 #if ENABLE(APNG)
 RepetitionCount PNGImageDecoder::repetitionCount() const