Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / Modules / gamepad / deprecated / GamepadList.cpp
index 22e0288..155fec2 100644 (file)
@@ -32,9 +32,7 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-GamepadList::~GamepadList()
-{
-}
+GamepadList::~GamepadList() = default;
 
 void GamepadList::set(unsigned index, RefPtr<Gamepad>&& gamepad)
 {
 
 void GamepadList::set(unsigned index, RefPtr<Gamepad>&& gamepad)
 {