Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / platform / mock / ScrollAnimatorMock.cpp
index 522aeb2..3cc0fe9 100644 (file)
@@ -42,9 +42,7 @@ ScrollAnimatorMock::ScrollAnimatorMock(ScrollableArea& scrollableArea, WTF::Func
 {
 }
 
-ScrollAnimatorMock::~ScrollAnimatorMock()
-{
-}
+ScrollAnimatorMock::~ScrollAnimatorMock() = default;
 
 void ScrollAnimatorMock::didAddVerticalScrollbar(Scrollbar* scrollbar)
 {