summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/ClientChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/ClientChannel.h')
-rw-r--r--cpp/src/qpid/client/ClientChannel.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/ClientChannel.h b/cpp/src/qpid/client/ClientChannel.h
index b33af65d21..527f5d418f 100644
--- a/cpp/src/qpid/client/ClientChannel.h
+++ b/cpp/src/qpid/client/ClientChannel.h
@@ -63,8 +63,7 @@ class Channel : private sys::Runnable
struct Consumer{
MessageListener* listener;
AckMode ackMode;
- int count;
- u_int64_t lastDeliveryTag;
+ uint32_t count;
};
typedef std::map<std::string, Consumer> ConsumerMap;
@@ -75,7 +74,7 @@ class Channel : private sys::Runnable
const bool transactional;
framing::ProtocolVersion version;
- sys::Mutex stopLock;
+ mutable sys::Mutex stopLock;
bool running;
ConsumerMap consumers;