From 868ce7469262d6fd2fe3f2e7f04cfe7af654d59f Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Mon, 27 Aug 2012 15:40:33 +0000 Subject: QPID-3858: Updated code to include recent refactoring by Gordon (gsim) - see QPID-4178. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1377715 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/client/SubscriptionManager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/include') diff --git a/cpp/include/qpid/client/SubscriptionManager.h b/cpp/include/qpid/client/SubscriptionManager.h index b69819a8ff..404a9c6eb9 100644 --- a/cpp/include/qpid/client/SubscriptionManager.h +++ b/cpp/include/qpid/client/SubscriptionManager.h @@ -280,8 +280,8 @@ class QPID_CLIENT_CLASS_EXTERN SubscriptionManager : public sys::Runnable, publi /** AutoCancel cancels a subscription in its destructor */ class AutoCancel { public: - AutoCancel(SubscriptionManager& sm_, const std::string& tag_) : sm(sm_), tag(tag_) {} - ~AutoCancel() { sm.cancel(tag); } + AutoCancel(SubscriptionManager&, const std::string& tag); + ~AutoCancel(); private: SubscriptionManager& sm; std::string tag; -- cgit v1.2.1