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 *username, const char *email,
|
||||||
const char *password,
|
const char *password,
|
||||||
const char *device_manufacturer_id,
|
const char *device_manufacturer_id,
|
||||||
QobuzLoginHandler &_handler) noexcept
|
QobuzLoginHandler &_handler)
|
||||||
:request(curl, *this),
|
:request(curl, *this),
|
||||||
handler(_handler)
|
handler(_handler)
|
||||||
{
|
{
|
||||||
|
|
|
@ -46,7 +46,7 @@ public:
|
||||||
const char *username, const char *email,
|
const char *username, const char *email,
|
||||||
const char *password,
|
const char *password,
|
||||||
const char *device_manufacturer_id,
|
const char *device_manufacturer_id,
|
||||||
QobuzLoginHandler &_handler) noexcept;
|
QobuzLoginHandler &_handler);
|
||||||
|
|
||||||
~QobuzLoginRequest() noexcept;
|
~QobuzLoginRequest() noexcept;
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ MakeTrackUrl(QobuzClient &client, const char *track_id)
|
||||||
QobuzTrackRequest::QobuzTrackRequest(QobuzClient &client,
|
QobuzTrackRequest::QobuzTrackRequest(QobuzClient &client,
|
||||||
const QobuzSession &session,
|
const QobuzSession &session,
|
||||||
const char *track_id,
|
const char *track_id,
|
||||||
QobuzTrackHandler &_handler) noexcept
|
QobuzTrackHandler &_handler)
|
||||||
:request(client.GetCurl(),
|
:request(client.GetCurl(),
|
||||||
MakeTrackUrl(client, track_id).c_str(),
|
MakeTrackUrl(client, track_id).c_str(),
|
||||||
*this),
|
*this),
|
||||||
|
|
|
@ -48,7 +48,7 @@ public:
|
||||||
|
|
||||||
QobuzTrackRequest(QobuzClient &client, const QobuzSession &session,
|
QobuzTrackRequest(QobuzClient &client, const QobuzSession &session,
|
||||||
const char *track_id,
|
const char *track_id,
|
||||||
QobuzTrackHandler &_handler) noexcept;
|
QobuzTrackHandler &_handler);
|
||||||
|
|
||||||
~QobuzTrackRequest() noexcept;
|
~QobuzTrackRequest() noexcept;
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ MakeLoginUrl(const char *base_url)
|
||||||
TidalLoginRequest::TidalLoginRequest(CurlGlobal &curl,
|
TidalLoginRequest::TidalLoginRequest(CurlGlobal &curl,
|
||||||
const char *base_url, const char *token,
|
const char *base_url, const char *token,
|
||||||
const char *username, const char *password,
|
const char *username, const char *password,
|
||||||
TidalLoginHandler &_handler) noexcept
|
TidalLoginHandler &_handler)
|
||||||
:request(curl, MakeLoginUrl(base_url).c_str(), *this),
|
:request(curl, MakeLoginUrl(base_url).c_str(), *this),
|
||||||
handler(_handler)
|
handler(_handler)
|
||||||
{
|
{
|
||||||
|
|
|
@ -54,7 +54,7 @@ public:
|
||||||
TidalLoginRequest(CurlGlobal &curl,
|
TidalLoginRequest(CurlGlobal &curl,
|
||||||
const char *base_url, const char *token,
|
const char *base_url, const char *token,
|
||||||
const char *username, const char *password,
|
const char *username, const char *password,
|
||||||
TidalLoginHandler &_handler) noexcept;
|
TidalLoginHandler &_handler);
|
||||||
|
|
||||||
~TidalLoginRequest() noexcept;
|
~TidalLoginRequest() noexcept;
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ static constexpr Domain tidal_domain("tidal");
|
||||||
TidalSessionManager::TidalSessionManager(EventLoop &event_loop,
|
TidalSessionManager::TidalSessionManager(EventLoop &event_loop,
|
||||||
const char *_base_url, const char *_token,
|
const char *_base_url, const char *_token,
|
||||||
const char *_username,
|
const char *_username,
|
||||||
const char *_password) noexcept
|
const char *_password)
|
||||||
:base_url(_base_url), token(_token),
|
:base_url(_base_url), token(_token),
|
||||||
username(_username), password(_password),
|
username(_username), password(_password),
|
||||||
curl(event_loop),
|
curl(event_loop),
|
||||||
|
|
|
@ -99,7 +99,7 @@ public:
|
||||||
TidalSessionManager(EventLoop &event_loop,
|
TidalSessionManager(EventLoop &event_loop,
|
||||||
const char *_base_url, const char *_token,
|
const char *_base_url, const char *_token,
|
||||||
const char *_username,
|
const char *_username,
|
||||||
const char *_password) noexcept;
|
const char *_password);
|
||||||
|
|
||||||
~TidalSessionManager() noexcept;
|
~TidalSessionManager() noexcept;
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ TidalTrackRequest::TidalTrackRequest(CurlGlobal &curl,
|
||||||
const char *base_url, const char *token,
|
const char *base_url, const char *token,
|
||||||
const char *session,
|
const char *session,
|
||||||
const char *track_id,
|
const char *track_id,
|
||||||
TidalTrackHandler &_handler) noexcept
|
TidalTrackHandler &_handler)
|
||||||
:request(curl, MakeTrackUrl(base_url, track_id).c_str(), *this),
|
:request(curl, MakeTrackUrl(base_url, track_id).c_str(), *this),
|
||||||
handler(_handler)
|
handler(_handler)
|
||||||
{
|
{
|
||||||
|
|
|
@ -57,7 +57,7 @@ public:
|
||||||
const char *base_url, const char *token,
|
const char *base_url, const char *token,
|
||||||
const char *session,
|
const char *session,
|
||||||
const char *track_id,
|
const char *track_id,
|
||||||
TidalTrackHandler &_handler) noexcept;
|
TidalTrackHandler &_handler);
|
||||||
|
|
||||||
~TidalTrackRequest() noexcept;
|
~TidalTrackRequest() noexcept;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue