input/curl: un-inline constructor

This commit is contained in:
Max Kellermann 2018-01-11 12:46:26 +01:00
parent d1df0fec19
commit 0bfbe6771e

View File

@ -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();