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:
|
public:
|
||||||
CurlInputStream(EventLoop &event_loop, const char *_url,
|
CurlInputStream(EventLoop &event_loop, const char *_url,
|
||||||
Mutex &_mutex, Cond &_cond)
|
Mutex &_mutex, Cond &_cond);
|
||||||
:AsyncInputStream(event_loop, _url, _mutex, _cond,
|
|
||||||
CURL_MAX_BUFFERED,
|
|
||||||
CURL_RESUME_AT),
|
|
||||||
icy(new IcyMetaDataParser()) {
|
|
||||||
}
|
|
||||||
|
|
||||||
~CurlInputStream() noexcept;
|
~CurlInputStream() noexcept;
|
||||||
|
|
||||||
@ -347,6 +342,16 @@ input_curl_finish() noexcept
|
|||||||
http_200_aliases = nullptr;
|
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
|
CurlInputStream::~CurlInputStream() noexcept
|
||||||
{
|
{
|
||||||
FreeEasyIndirect();
|
FreeEasyIndirect();
|
||||||
|
Loading…
Reference in New Issue
Block a user