summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/Connection.h')
-rw-r--r--cpp/src/qpid/client/Connection.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/Connection.h b/cpp/src/qpid/client/Connection.h
index 2e5059f135..d2612ca754 100644
--- a/cpp/src/qpid/client/Connection.h
+++ b/cpp/src/qpid/client/Connection.h
@@ -23,7 +23,6 @@
*/
#include <map>
#include <string>
-#include "qpid/QpidError.h"
#include "Channel.h"
#include "ConnectionImpl.h"
#include "qpid/client/Session.h"
@@ -57,10 +56,12 @@ class Connection
framing::ChannelId channelIdCounter;
framing::ProtocolVersion version;
const uint32_t max_frame_size;
- shared_ptr<ConnectionImpl> impl;
bool isOpen;
bool debug;
-
+
+ protected:
+ boost::shared_ptr<ConnectionImpl> impl;
+
public:
/**
* Creates a connection object, but does not open the