Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / platform / ScrollAnimator.cpp
index 0a8bf8b..411ef64 100644 (file)
@@ -55,9 +55,7 @@ ScrollAnimator::ScrollAnimator(ScrollableArea& scrollableArea)
 {
 }
 
-ScrollAnimator::~ScrollAnimator()
-{
-}
+ScrollAnimator::~ScrollAnimator() = default;
 
 bool ScrollAnimator::scroll(ScrollbarOrientation orientation, ScrollGranularity, float step, float multiplier)
 {