Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / storage / StorageEvent.cpp
index 4fab010..1bd8db9 100644 (file)
@@ -35,13 +35,9 @@ Ref<StorageEvent> StorageEvent::createForBindings()
     return adoptRef(*new StorageEvent);
 }
 
-StorageEvent::StorageEvent()
-{
-}
+StorageEvent::StorageEvent() = default;
 
-StorageEvent::~StorageEvent()
-{
-}
+StorageEvent::~StorageEvent() = default;
 
 Ref<StorageEvent> StorageEvent::create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea)
 {