Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dynamic exception specifications #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/fingerprint/Fingerprint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ lastfm::Fingerprint::data() const


void
lastfm::Fingerprint::generate( FingerprintableSource* ms ) throw( Error )
lastfm::Fingerprint::generate( FingerprintableSource* ms )
{
//TODO throw if we can't get required metadata from the track object

Expand Down Expand Up @@ -306,7 +306,7 @@ lastfm::Fingerprint::submit() const


void
lastfm::Fingerprint::decode( QNetworkReply* reply, bool* complete_fingerprint_requested ) throw( Error )
lastfm::Fingerprint::decode( QNetworkReply* reply, bool* complete_fingerprint_requested )
{
// The response data will consist of a number and a string.
// The number is the fpid and the string is either FOUND or NEW
Expand Down
4 changes: 2 additions & 2 deletions src/fingerprint/Fingerprint.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace lastfm
};

/** This is CPU intensive, do it in a thread in your GUI application */
void generate( FingerprintableSource* ) throw( Error );
void generate( FingerprintableSource* );

/** Submits the fingerprint data to Last.fm in order to get a FingerprintId
* back. You need to wait for the QNetworkReply to finish before you can
Expand All @@ -82,7 +82,7 @@ namespace lastfm
* will be valid. Otherwise we will throw. You always get a valid id
* or a throw.
*/
void decode( QNetworkReply*, bool* lastfm_needs_a_complete_fingerprint = 0 ) throw( Error );
void decode( QNetworkReply*, bool* lastfm_needs_a_complete_fingerprint = 0 );
};


Expand Down