input/curl: un-inline constructor
This commit is contained in:
parent
d1df0fec19
commit
0bfbe6771e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user