summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/BoostConnectionFactory.h')
-rw-r--r--Swiften/Network/BoostConnectionFactory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Network/BoostConnectionFactory.h b/Swiften/Network/BoostConnectionFactory.h
index 551defe..ea9d656 100644
--- a/Swiften/Network/BoostConnectionFactory.h
+++ b/Swiften/Network/BoostConnectionFactory.h
@@ -16,12 +16,12 @@ namespace Swift {
class BoostConnectionFactory : public ConnectionFactory {
public:
- BoostConnectionFactory(boost::asio::io_service*, EventLoop* eventLoop);
+ BoostConnectionFactory(boost::shared_ptr<boost::asio::io_service>, EventLoop* eventLoop);
virtual boost::shared_ptr<Connection> createConnection();
private:
- boost::asio::io_service* ioService;
+ boost::shared_ptr<boost::asio::io_service> ioService;
EventLoop* eventLoop;
};
}