summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/SessionState.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-06-19 14:26:03 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-06-19 14:26:03 +0000
commitbaf1fc7b0515aaca321bc553c29d4ff60d859500 (patch)
tree8b9d09f4ca3666a2c3610fe804f257ca37866c12 /cpp/src/qpid/broker/SessionState.cpp
parent37d5fa248b71809a9a05bc9ec22c6db7fcf0eb4e (diff)
downloadqpid-python-baf1fc7b0515aaca321bc553c29d4ff60d859500.tar.gz
QPID-4905: Tidy up broker::Connection
- Clean up code for accounting for sent frames - merged Connection and ConnectionState into Connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1494639 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SessionState.cpp')
-rw-r--r--cpp/src/qpid/broker/SessionState.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/SessionState.cpp b/cpp/src/qpid/broker/SessionState.cpp
index a89e5ef974..ccf77413df 100644
--- a/cpp/src/qpid/broker/SessionState.cpp
+++ b/cpp/src/qpid/broker/SessionState.cpp
@@ -20,7 +20,6 @@
*/
#include "qpid/broker/SessionState.h"
#include "qpid/broker/Broker.h"
-#include "qpid/broker/ConnectionState.h"
#include "qpid/broker/DeliverableMessage.h"
#include "qpid/broker/DeliveryRecord.h"
#include "qpid/broker/SessionManager.h"
@@ -97,7 +96,7 @@ uint16_t SessionState::getChannel() const {
return handler->getChannel();
}
-ConnectionState& SessionState::getConnection() {
+Connection& SessionState::getConnection() {
assert(isAttached());
return handler->getConnection();
}