summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/SessionHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/SessionHandler.cpp')
-rw-r--r--cpp/src/qpid/broker/SessionHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/SessionHandler.cpp b/cpp/src/qpid/broker/SessionHandler.cpp
index 01ce88059a..13e5c247be 100644
--- a/cpp/src/qpid/broker/SessionHandler.cpp
+++ b/cpp/src/qpid/broker/SessionHandler.cpp
@@ -19,7 +19,7 @@
*/
#include "SessionHandler.h"
-#include "Session.h"
+#include "SessionState.h"
#include "Connection.h"
#include "qpid/framing/reply_exceptions.h"
#include "qpid/framing/constants.h"
@@ -94,7 +94,7 @@ void SessionHandler::assertClosed(const char* method) {
void SessionHandler::open(uint32_t detachedLifetime) {
assertClosed("open");
- session.reset(new Session(*this, detachedLifetime));
+ session.reset(new SessionState(*this, detachedLifetime));
getProxy().getSession().attached(session->getId(), session->getTimeout());
}