input/async: pass std::string_view to constructor

This commit is contained in:
Max Kellermann
2024-05-13 10:11:18 +02:00
parent 4800f1d8f2
commit 6d5dab38dd
6 changed files with 14 additions and 18 deletions

View File

@@ -12,7 +12,7 @@
#include <string.h>
AsyncInputStream::AsyncInputStream(EventLoop &event_loop, const char *_url,
AsyncInputStream::AsyncInputStream(EventLoop &event_loop, std::string_view _url,
Mutex &_mutex,
size_t _buffer_size,
size_t _resume_at) noexcept