summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/Connection.cpp')
-rw-r--r--cpp/src/qpid/client/Connection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/Connection.cpp b/cpp/src/qpid/client/Connection.cpp
index 872e04b3b5..25d1c510c8 100644
--- a/cpp/src/qpid/client/Connection.cpp
+++ b/cpp/src/qpid/client/Connection.cpp
@@ -25,7 +25,7 @@
#include "Connection.h"
#include "Channel.h"
#include "Message.h"
-#include "SessionCore.h"
+#include "SessionImpl.h"
#include "qpid/log/Logger.h"
#include "qpid/log/Options.h"
#include "qpid/log/Statement.h"
@@ -76,8 +76,8 @@ void Connection::openChannel(Channel& channel) {
Session Connection::newSession(SynchronousMode sync,
uint32_t detachedLifetime)
{
- shared_ptr<SessionCore> core(
- new SessionCore(impl, ++channelIdCounter, max_frame_size));
+ shared_ptr<SessionImpl> core(
+ new SessionImpl(impl, ++channelIdCounter, max_frame_size));
core->setSync(sync);
impl->addSession(core);
core->open(detachedLifetime);