Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / platform / mediastream / RealtimeMediaSourceCenter.cpp
index 6ad9afd..40a6177 100644 (file)
@@ -90,9 +90,7 @@ RealtimeMediaSourceCenter::RealtimeMediaSourceCenter()
     m_supportedConstraints.setSupportsDeviceId(true);
 }
 
-RealtimeMediaSourceCenter::~RealtimeMediaSourceCenter()
-{
-}
+RealtimeMediaSourceCenter::~RealtimeMediaSourceCenter() = default;
 
 void RealtimeMediaSourceCenter::createMediaStream(NewMediaStreamHandler&& completionHandler, const String& audioDeviceID, const String& videoDeviceID, const MediaConstraints* audioConstraints, const MediaConstraints* videoConstraints)
 {