diff options
Diffstat (limited to 'cpp/lib/broker/Connection.cpp')
-rw-r--r-- | cpp/lib/broker/Connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/lib/broker/Connection.cpp b/cpp/lib/broker/Connection.cpp index 3d9e5cdaf8..ae0114cba9 100644 --- a/cpp/lib/broker/Connection.cpp +++ b/cpp/lib/broker/Connection.cpp @@ -45,7 +45,7 @@ Connection::Connection(ConnectionOutputHandler* out_, Broker& broker_) : {} -Queue::shared_ptr Connection::getQueue(const string& name, u_int16_t channel){ +Queue::shared_ptr Connection::getQueue(const string& name, uint16_t channel){ Queue::shared_ptr queue; if (name.empty()) { queue = getChannel(channel).getDefaultQueue(); @@ -105,7 +105,7 @@ void Connection::closed(){ } } -void Connection::closeChannel(u_int16_t id) { +void Connection::closeChannel(uint16_t id) { ChannelMap::iterator i = channels.find(id); if (i != channels.end()) i->close(); |