diff options
| author | Alan Conway <aconway@apache.org> | 2007-03-15 19:22:02 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-03-15 19:22:02 +0000 |
| commit | 6bc8ab8e4b209b841969544fc735361335040906 (patch) | |
| tree | 90b8a4b3f0ec4fdf2c3a0ac02b27768b953a3be1 /cpp/lib/broker/BrokerQueue.cpp | |
| parent | f92c42ffe7662d1d0e2863c6e143567b25ae2024 (diff) | |
| download | qpid-python-6bc8ab8e4b209b841969544fc735361335040906.tar.gz | |
Changed u_int<n>_t to uint<n>_t for posix compliance.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/BrokerQueue.cpp')
| -rw-r--r-- | cpp/lib/broker/BrokerQueue.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/lib/broker/BrokerQueue.cpp b/cpp/lib/broker/BrokerQueue.cpp index 789e652947..31309bd6c5 100644 --- a/cpp/lib/broker/BrokerQueue.cpp +++ b/cpp/lib/broker/BrokerQueue.cpp @@ -32,7 +32,7 @@ using namespace qpid::sys; using namespace qpid::framing; using boost::format; -Queue::Queue(const string& _name, u_int32_t _autodelete, +Queue::Queue(const string& _name, uint32_t _autodelete, MessageStore* const _store, const ConnectionToken* const _owner) : @@ -166,7 +166,7 @@ Message::shared_ptr Queue::dequeue(){ return msg; } -u_int32_t Queue::purge(){ +uint32_t Queue::purge(){ Mutex::ScopedLock locker(lock); int count = messages.size(); while(!messages.empty()) pop(); @@ -189,12 +189,12 @@ void Queue::push(Message::shared_ptr& msg){ } } -u_int32_t Queue::getMessageCount() const{ +uint32_t Queue::getMessageCount() const{ Mutex::ScopedLock locker(lock); return messages.size(); } -u_int32_t Queue::getConsumerCount() const{ +uint32_t Queue::getConsumerCount() const{ Mutex::ScopedLock locker(lock); return consumers.size(); } |
