aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/HttpdClient.hxx
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/HttpdClient.hxx
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/HttpdClient.hxx')
-rw-r--r--src/output/HttpdClient.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/HttpdClient.hxx b/src/output/HttpdClient.hxx
index 5c1a538cb..78d1ac9d8 100644
--- a/src/output/HttpdClient.hxx
+++ b/src/output/HttpdClient.hxx
@@ -34,7 +34,7 @@ class HttpdClient final : BufferedSocket {
/**
* The httpd output object this client is connected to.
*/
- HttpdOutput *const httpd;
+ HttpdOutput &httpd;
/**
* The current state of the client.
@@ -120,7 +120,7 @@ public:
* @param httpd the HTTP output device
* @param fd the socket file descriptor
*/
- HttpdClient(HttpdOutput *httpd, int _fd, EventLoop &_loop,
+ HttpdClient(HttpdOutput &httpd, int _fd, EventLoop &_loop,
bool _metadata_supported);
/**