diff options
Diffstat (limited to 'Swiften/Network/BoostTimerFactory.h')
-rw-r--r-- | Swiften/Network/BoostTimerFactory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Network/BoostTimerFactory.h b/Swiften/Network/BoostTimerFactory.h index a987763..c0e9ef7 100644 --- a/Swiften/Network/BoostTimerFactory.h +++ b/Swiften/Network/BoostTimerFactory.h @@ -17,12 +17,12 @@ namespace Swift { class BoostTimerFactory : public TimerFactory { public: - BoostTimerFactory(boost::asio::io_service*, EventLoop* eventLoop); + BoostTimerFactory(boost::shared_ptr<boost::asio::io_service>, EventLoop* eventLoop); virtual boost::shared_ptr<Timer> createTimer(int milliseconds); private: - boost::asio::io_service* ioService; + boost::shared_ptr<boost::asio::io_service> ioService; EventLoop* eventLoop; }; } |