aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/HttpdOutputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-31 16:32:33 +0100
committerMax Kellermann <max@duempel.org>2013-12-31 16:32:33 +0100
commit8b65b524d50590db13818affdcc6ceffa4c23d19 (patch)
tree570ee79ba5f061f1304537d545fa96d17fcad234 /src/output/HttpdOutputPlugin.cxx
parentf1ac2cd33642fff7fcf0981add7594a45c832e25 (diff)
downloadmpd-8b65b524d50590db13818affdcc6ceffa4c23d19.tar.gz
mpd-8b65b524d50590db13818affdcc6ceffa4c23d19.tar.xz
mpd-8b65b524d50590db13818affdcc6ceffa4c23d19.zip
output/httpd: use reference instead of pointer
Diffstat (limited to 'src/output/HttpdOutputPlugin.cxx')
-rw-r--r--src/output/HttpdOutputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
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;