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 a6875fcb63..4af69c8552 100644 --- a/cpp/src/qpid/client/Channel.cpp +++ b/cpp/src/qpid/client/Channel.cpp @@ -46,9 +46,9 @@ const std::string empty; class ScopedSync { - Session_0_10& session; + Session& session; public: - ScopedSync(Session_0_10& s, bool enabled = true) : session(s) { session.setSynchronous(enabled); } + ScopedSync(Session& s, bool enabled = true) : session(s) { session.setSynchronous(enabled); } ~ScopedSync() { session.setSynchronous(false); } }; @@ -63,7 +63,7 @@ Channel::~Channel() join(); } -void Channel::open(const Session_0_10& s) +void Channel::open(const Session& s) { Mutex::ScopedLock l(stopLock); if (isOpen()) |