diff options
Diffstat (limited to 'Swiften/Network/BoostConnectionServerFactory.h')
| -rw-r--r-- | Swiften/Network/BoostConnectionServerFactory.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Network/BoostConnectionServerFactory.h b/Swiften/Network/BoostConnectionServerFactory.h index 033e63d..956132b 100644 --- a/Swiften/Network/BoostConnectionServerFactory.h +++ b/Swiften/Network/BoostConnectionServerFactory.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | /* | 7 | /* |
| 8 | * Copyright (c) 2015-2016 Isode Limited. | 8 | * Copyright (c) 2015-2018 Isode Limited. |
| 9 | * All rights reserved. | 9 | * All rights reserved. |
| 10 | * See the COPYING file for more information. | 10 | * See the COPYING file for more information. |
| 11 | */ | 11 | */ |
| @@ -25,9 +25,9 @@ namespace Swift { | |||
| 25 | public: | 25 | public: |
| 26 | BoostConnectionServerFactory(std::shared_ptr<boost::asio::io_service>, EventLoop* eventLoop); | 26 | BoostConnectionServerFactory(std::shared_ptr<boost::asio::io_service>, EventLoop* eventLoop); |
| 27 | 27 | ||
| 28 | virtual std::shared_ptr<ConnectionServer> createConnectionServer(int port); | 28 | virtual std::shared_ptr<ConnectionServer> createConnectionServer(unsigned short port); |
| 29 | 29 | ||
| 30 | virtual std::shared_ptr<ConnectionServer> createConnectionServer(const Swift::HostAddress &hostAddress, int port); | 30 | virtual std::shared_ptr<ConnectionServer> createConnectionServer(const Swift::HostAddress &hostAddress, unsigned short port); |
| 31 | 31 | ||
| 32 | private: | 32 | private: |
| 33 | std::shared_ptr<boost::asio::io_service> ioService; | 33 | std::shared_ptr<boost::asio::io_service> ioService; |
Swift