diff options
Diffstat (limited to 'Userland/Libraries/LibWebSocket/WebSocket.cpp')
-rw-r--r-- | Userland/Libraries/LibWebSocket/WebSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWebSocket/WebSocket.cpp b/Userland/Libraries/LibWebSocket/WebSocket.cpp index a2ddefb0e4..75843ac71d 100644 --- a/Userland/Libraries/LibWebSocket/WebSocket.cpp +++ b/Userland/Libraries/LibWebSocket/WebSocket.cpp @@ -21,7 +21,7 @@ namespace WebSocket { NonnullRefPtr<WebSocket> WebSocket::create(ConnectionInfo connection) { - return adopt(*new WebSocket(connection)); + return adopt_ref(*new WebSocket(connection)); } WebSocket::WebSocket(ConnectionInfo connection) |