From 572687922f2c2bbb81cff1213836f7d82caf2479 Mon Sep 17 00:00:00 2001 From: tobiasguyer <154328661+tobiasguyer@users.noreply.github.com> Date: Sun, 29 Sep 2024 16:28:47 +0200 Subject: [PATCH] Update MercurySession.cpp --- cspot/src/MercurySession.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 +}