summaryrefslogtreecommitdiff
path: root/Userland/Services/AudioServer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/AudioServer/main.cpp')
-rw-r--r--Userland/Services/AudioServer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/AudioServer/main.cpp b/Userland/Services/AudioServer/main.cpp
index 621f394024..dd8da23147 100644
--- a/Userland/Services/AudioServer/main.cpp
+++ b/Userland/Services/AudioServer/main.cpp
@@ -25,7 +25,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
auto server = TRY(Core::LocalServer::try_create());
TRY(server->take_over_from_system_server());
- server->on_accept = [&](NonnullRefPtr<Core::LocalSocket> client_socket) {
+ server->on_accept = [&](NonnullOwnPtr<Core::Stream::LocalSocket> client_socket) {
static int s_next_client_id = 0;
int client_id = ++s_next_client_id;
(void)IPC::new_client_connection<AudioServer::ClientConnection>(move(client_socket), client_id, *mixer);