input/{tidal,qobus}: add bogus "noexcept"
The CurlRequest constructor can throw exceptions, therefore we must not use "noexcept".
This commit is contained in:
parent
7640609b41
commit
47fa8c4cf6
|
@ -119,7 +119,7 @@ QobuzLoginRequest::QobuzLoginRequest(CurlGlobal &curl,
|
|||
const char *username, const char *email,
|
||||
const char *password,
|
||||
const char *device_manufacturer_id,
|
||||
QobuzLoginHandler &_handler) noexcept
|
||||
QobuzLoginHandler &_handler)
|
||||
:request(curl, *this),
|
||||
handler(_handler)
|
||||
{
|
||||
|
|
|
@ -46,7 +46,7 @@ public:
|
|||
const char *username, const char *email,
|
||||
const char *password,
|
||||
const char *device_manufacturer_id,
|
||||
QobuzLoginHandler &_handler) noexcept;
|
||||
QobuzLoginHandler &_handler);
|
||||
|
||||
~QobuzLoginRequest() noexcept;
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ MakeTrackUrl(QobuzClient &client, const char *track_id)
|
|||
QobuzTrackRequest::QobuzTrackRequest(QobuzClient &client,
|
||||
const QobuzSession &session,
|
||||
const char *track_id,
|
||||
QobuzTrackHandler &_handler) noexcept
|
||||
QobuzTrackHandler &_handler)
|
||||
:request(client.GetCurl(),
|
||||
MakeTrackUrl(client, track_id).c_str(),
|
||||
*this),
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
|
||||
QobuzTrackRequest(QobuzClient &client, const QobuzSession &session,
|
||||
const char *track_id,
|
||||
QobuzTrackHandler &_handler) noexcept;
|
||||
QobuzTrackHandler &_handler);
|
||||
|
||||
~QobuzTrackRequest() noexcept;
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ MakeLoginUrl(const char *base_url)
|
|||
TidalLoginRequest::TidalLoginRequest(CurlGlobal &curl,
|
||||
const char *base_url, const char *token,
|
||||
const char *username, const char *password,
|
||||
TidalLoginHandler &_handler) noexcept
|
||||
TidalLoginHandler &_handler)
|
||||
:request(curl, MakeLoginUrl(base_url).c_str(), *this),
|
||||
handler(_handler)
|
||||
{
|
||||
|
|
|
@ -54,7 +54,7 @@ public:
|
|||
TidalLoginRequest(CurlGlobal &curl,
|
||||
const char *base_url, const char *token,
|
||||
const char *username, const char *password,
|
||||
TidalLoginHandler &_handler) noexcept;
|
||||
TidalLoginHandler &_handler);
|
||||
|
||||
~TidalLoginRequest() noexcept;
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ static constexpr Domain tidal_domain("tidal");
|
|||
TidalSessionManager::TidalSessionManager(EventLoop &event_loop,
|
||||
const char *_base_url, const char *_token,
|
||||
const char *_username,
|
||||
const char *_password) noexcept
|
||||
const char *_password)
|
||||
:base_url(_base_url), token(_token),
|
||||
username(_username), password(_password),
|
||||
curl(event_loop),
|
||||
|
|
|
@ -99,7 +99,7 @@ public:
|
|||
TidalSessionManager(EventLoop &event_loop,
|
||||
const char *_base_url, const char *_token,
|
||||
const char *_username,
|
||||
const char *_password) noexcept;
|
||||
const char *_password);
|
||||
|
||||
~TidalSessionManager() noexcept;
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ TidalTrackRequest::TidalTrackRequest(CurlGlobal &curl,
|
|||
const char *base_url, const char *token,
|
||||
const char *session,
|
||||
const char *track_id,
|
||||
TidalTrackHandler &_handler) noexcept
|
||||
TidalTrackHandler &_handler)
|
||||
:request(curl, MakeTrackUrl(base_url, track_id).c_str(), *this),
|
||||
handler(_handler)
|
||||
{
|
||||
|
|
|
@ -57,7 +57,7 @@ public:
|
|||
const char *base_url, const char *token,
|
||||
const char *session,
|
||||
const char *track_id,
|
||||
TidalTrackHandler &_handler) noexcept;
|
||||
TidalTrackHandler &_handler);
|
||||
|
||||
~TidalTrackRequest() noexcept;
|
||||
|
||||
|
|
Loading…
Reference in New Issue