diff options
Diffstat (limited to 'cpp/src/qpid/client/Channel.cpp')
-rw-r--r-- | cpp/src/qpid/client/Channel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/Channel.cpp b/cpp/src/qpid/client/Channel.cpp index 16e0428a56..8b7b7e1118 100644 --- a/cpp/src/qpid/client/Channel.cpp +++ b/cpp/src/qpid/client/Channel.cpp @@ -49,9 +49,9 @@ const std::string empty; class ScopedSync { - Session& session; + Session_0_10& session; public: - ScopedSync(Session& s, bool enabled = true) : session(s) { session.setSynchronous(enabled); } + ScopedSync(Session_0_10& s, bool enabled = true) : session(s) { session.setSynchronous(enabled); } ~ScopedSync() { session.setSynchronous(false); } }; @@ -66,7 +66,7 @@ Channel::~Channel() join(); } -void Channel::open(const Session& s) +void Channel::open(const Session_0_10& s) { Mutex::ScopedLock l(stopLock); if (isOpen()) |