diff options
author | Max Kellermann <max@duempel.org> | 2013-12-31 16:32:33 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-31 16:32:33 +0100 |
commit | 8b65b524d50590db13818affdcc6ceffa4c23d19 (patch) | |
tree | 570ee79ba5f061f1304537d545fa96d17fcad234 /src/output/HttpdOutputPlugin.cxx | |
parent | f1ac2cd33642fff7fcf0981add7594a45c832e25 (diff) | |
download | mpd-8b65b524d50590db13818affdcc6ceffa4c23d19.tar.gz mpd-8b65b524d50590db13818affdcc6ceffa4c23d19.tar.xz mpd-8b65b524d50590db13818affdcc6ceffa4c23d19.zip |
output/httpd: use reference instead of pointer
Diffstat (limited to '')
-rw-r--r-- | src/output/HttpdOutputPlugin.cxx | 2 |
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; |