Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / dom / KeyboardEvent.cpp
index 4804c1d..ae6edfb 100644 (file)
@@ -146,9 +146,7 @@ KeyboardEvent::KeyboardEvent(const AtomicString& eventType, const Init& initiali
 {
 }
 
-KeyboardEvent::~KeyboardEvent()
-{
-}
+KeyboardEvent::~KeyboardEvent() = default;
 
 void KeyboardEvent::initKeyboardEvent(const AtomicString& type, bool canBubble, bool cancelable, DOMWindow* view,
                                       const String &keyIdentifier, unsigned location,