diff options
Diffstat (limited to 'Swiften/Network/BoostConnectionFactory.h')
-rw-r--r-- | Swiften/Network/BoostConnectionFactory.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Swiften/Network/BoostConnectionFactory.h b/Swiften/Network/BoostConnectionFactory.h index d15770d..5695c6c 100644 --- a/Swiften/Network/BoostConnectionFactory.h +++ b/Swiften/Network/BoostConnectionFactory.h @@ -1,5 +1,4 @@ -#ifndef SWIFTEN_BoostConnectionFactory_H -#define SWIFTEN_BoostConnectionFactory_H +#pragma once #include <boost/asio.hpp> @@ -13,11 +12,9 @@ namespace Swift { public: BoostConnectionFactory(boost::asio::io_service*); - virtual BoostConnection* createConnection(); + virtual boost::shared_ptr<Connection> createConnection(); private: boost::asio::io_service* ioService; }; } - -#endif |