diff options
Diffstat (limited to 'Swiften/Network/BoostConnectionServerFactory.cpp')
| -rw-r--r-- | Swiften/Network/BoostConnectionServerFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Network/BoostConnectionServerFactory.cpp b/Swiften/Network/BoostConnectionServerFactory.cpp index 8b3fd2f..6936453 100644 --- a/Swiften/Network/BoostConnectionServerFactory.cpp +++ b/Swiften/Network/BoostConnectionServerFactory.cpp | |||
| @@ -19,11 +19,11 @@ namespace Swift { | |||
| 19 | BoostConnectionServerFactory::BoostConnectionServerFactory(std::shared_ptr<boost::asio::io_service> ioService, EventLoop* eventLoop) : ioService(ioService), eventLoop(eventLoop) { | 19 | BoostConnectionServerFactory::BoostConnectionServerFactory(std::shared_ptr<boost::asio::io_service> ioService, EventLoop* eventLoop) : ioService(ioService), eventLoop(eventLoop) { |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | std::shared_ptr<ConnectionServer> BoostConnectionServerFactory::createConnectionServer(int port) { | 22 | std::shared_ptr<ConnectionServer> BoostConnectionServerFactory::createConnectionServer(unsigned short port) { |
| 23 | return BoostConnectionServer::create(port, ioService, eventLoop); | 23 | return BoostConnectionServer::create(port, ioService, eventLoop); |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | std::shared_ptr<ConnectionServer> BoostConnectionServerFactory::createConnectionServer(const Swift::HostAddress &hostAddress, int port) { | 26 | std::shared_ptr<ConnectionServer> BoostConnectionServerFactory::createConnectionServer(const Swift::HostAddress &hostAddress, unsigned short port) { |
| 27 | return BoostConnectionServer::create(hostAddress, port, ioService, eventLoop); | 27 | return BoostConnectionServer::create(hostAddress, port, ioService, eventLoop); |
| 28 | } | 28 | } |
| 29 | 29 | ||
Swift