Commit 0bfbe677 authored by Max Kellermann's avatar Max Kellermann

input/curl: un-inline constructor

parent d1df0fec
......@@ -77,12 +77,7 @@ class CurlInputStream final : public AsyncInputStream, CurlResponseHandler {
public:
CurlInputStream(EventLoop &event_loop, const char *_url,
Mutex &_mutex, Cond &_cond)
:AsyncInputStream(event_loop, _url, _mutex, _cond,
CURL_MAX_BUFFERED,
CURL_RESUME_AT),
icy(new IcyMetaDataParser()) {
}
Mutex &_mutex, Cond &_cond);
~CurlInputStream() noexcept;
......@@ -347,6 +342,16 @@ input_curl_finish() noexcept
http_200_aliases = nullptr;
}
inline
CurlInputStream::CurlInputStream(EventLoop &event_loop, const char *_url,
Mutex &_mutex, Cond &_cond)
:AsyncInputStream(event_loop, _url, _mutex, _cond,
CURL_MAX_BUFFERED,
CURL_RESUME_AT),
icy(new IcyMetaDataParser())
{
}
CurlInputStream::~CurlInputStream() noexcept
{
FreeEasyIndirect();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment