summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebSockets/WebSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/WebSockets/WebSocket.cpp')
-rw-r--r--Userland/Libraries/LibWeb/WebSockets/WebSocket.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/WebSockets/WebSocket.cpp b/Userland/Libraries/LibWeb/WebSockets/WebSocket.cpp
index 5e048f6bcc..f4707d0411 100644
--- a/Userland/Libraries/LibWeb/WebSockets/WebSocket.cpp
+++ b/Userland/Libraries/LibWeb/WebSockets/WebSocket.cpp
@@ -100,9 +100,7 @@ WebSocket::WebSocket(HTML::Window& window, AK::URL& url)
};
}
-WebSocket::~WebSocket()
-{
-}
+WebSocket::~WebSocket() = default;
// https://websockets.spec.whatwg.org/#dom-websocket-readystate
WebSocket::ReadyState WebSocket::ready_state() const