diff --git a/cspot/src/MercurySession.cpp b/cspot/src/MercurySession.cpp index d12fb2b..f58be03 100644 --- a/cspot/src/MercurySession.cpp +++ b/cspot/src/MercurySession.cpp @@ -295,11 +295,6 @@ void MercurySession::addSubscriptionListener(const std::string& uri, this->subscriptions.insert({uri, subscription}); } -void MercurySession::addSubscriptionListener(const std::string& uri, - ResponseCallback subscription) { - this->subscriptions.insert({uri, subscription}); -} - uint64_t MercurySession::executeSubscription(RequestType method, const std::string& uri, ResponseCallback callback, @@ -402,4 +397,4 @@ uint32_t MercurySession::requestAudioKey(const std::vector& trackId, // @TODO: Handle disconnect } return audioKeySequence - 1; -} \ No newline at end of file +}