input/{tidal,qobus}: add bogus "noexcept"

The CurlRequest constructor can throw exceptions, therefore we must
not use "noexcept".
This commit is contained in:
Max Kellermann 2018-01-25 12:58:58 +01:00
parent 7640609b41
commit 47fa8c4cf6
10 changed files with 10 additions and 10 deletions

View File

@ -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)
{ {

View File

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

View File

@ -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),

View File

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

View File

@ -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)
{ {

View File

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

View File

@ -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),

View File

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

View File

@ -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)
{ {

View File

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