output/httpd: use C++11 initializers

This commit is contained in:
Max Kellermann
2017-11-10 21:15:57 +01:00
parent ec20784046
commit b83fbad6a1
4 changed files with 13 additions and 23 deletions

View File

@@ -191,15 +191,7 @@ HttpdClient::HttpdClient(HttpdOutput &_httpd, UniqueSocketDescriptor _fd,
bool _metadata_supported)
:BufferedSocket(_fd.Release(), _loop),
httpd(_httpd),
state(REQUEST),
queue_size(0),
head_method(false),
dlna_streaming_requested(false),
metadata_supported(_metadata_supported),
metadata_requested(false), metadata_sent(true),
metaint(8192), /*TODO: just a std value */
metadata(nullptr),
metadata_current_position(0), metadata_fill(0)
metadata_supported(_metadata_supported)
{
}