Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / Modules / gamepad / Gamepad.cpp
index e69a359..965195d 100644 (file)
@@ -46,9 +46,7 @@ Gamepad::Gamepad(const PlatformGamepad& platformGamepad)
         m_buttons.append(GamepadButton::create());
 }
 
-Gamepad::~Gamepad()
-{
-}
+Gamepad::~Gamepad() = default;
 
 const Vector<double>& Gamepad::axes() const
 {