summaryrefslogtreecommitdiffstats
path: root/src/Common/ClientConnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/ClientConnection.h')
-rw-r--r--src/Common/ClientConnection.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Common/ClientConnection.h b/src/Common/ClientConnection.h
index b50f163..a02c461 100644
--- a/src/Common/ClientConnection.h
+++ b/src/Common/ClientConnection.h
@@ -37,14 +37,13 @@ namespace Common {
class MAD_COMMON_EXPORT ClientConnection : public Connection {
private:
- Net::ClientConnection *connection;
+ boost::shared_ptr<Net::ClientConnection> connection;
protected:
virtual bool send(const Net::Packet &packet);
public:
ClientConnection(Core::Application *application);
- virtual ~ClientConnection() {}
void connect(const boost::asio::ip::tcp::endpoint &address) throw(Core::Exception);