From 8b65b524d50590db13818affdcc6ceffa4c23d19 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 31 Dec 2013 16:32:33 +0100 Subject: output/httpd: use reference instead of pointer --- src/output/HttpdOutputPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output/HttpdOutputPlugin.cxx') diff --git a/src/output/HttpdOutputPlugin.cxx b/src/output/HttpdOutputPlugin.cxx index 8cbc150ad..b2c7de518 100644 --- a/src/output/HttpdOutputPlugin.cxx +++ b/src/output/HttpdOutputPlugin.cxx @@ -179,7 +179,7 @@ httpd_output_finish(struct audio_output *ao) inline void HttpdOutput::AddClient(int fd) { - clients.emplace_front(this, fd, GetEventLoop(), + clients.emplace_front(*this, fd, GetEventLoop(), encoder->plugin.tag == nullptr); ++clients_cnt; -- cgit v1.2.3