input/async: use C++11 initializers

This commit is contained in:
Max Kellermann
2017-09-19 19:54:07 +02:00
parent 56a9bf459d
commit 99a447dff5
2 changed files with 5 additions and 9 deletions

View File

@@ -38,11 +38,7 @@ AsyncInputStream::AsyncInputStream(EventLoop &event_loop, const char *_url,
deferred_seek(event_loop, BIND_THIS_METHOD(DeferredSeek)),
allocation(_buffer_size),
buffer((uint8_t *)allocation.get(), _buffer_size),
resume_at(_resume_at),
open(true),
paused(false),
seek_state(SeekState::NONE),
tag(nullptr) {}
resume_at(_resume_at) {}
AsyncInputStream::~AsyncInputStream()
{