From baf1fc7b0515aaca321bc553c29d4ff60d859500 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 19 Jun 2013 14:26:03 +0000 Subject: 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 --- cpp/src/qpid/broker/SessionState.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpp/src/qpid/broker/SessionState.cpp') 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(); } -- cgit v1.2.1