Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / dom / Event.cpp
index b97d003..d33cba6 100644 (file)
@@ -72,9 +72,7 @@ Event::Event(const AtomicString& eventType, const EventInit& initializer, IsTrus
 {
 }
 
-Event::~Event()
-{
-}
+Event::~Event() = default;
 
 void Event::initEvent(const AtomicString& eventTypeArg, bool canBubbleArg, bool cancelableArg)
 {