diff options
Diffstat (limited to 'Swiften/Network/DummyConnectionServer.h')
| -rw-r--r-- | Swiften/Network/DummyConnectionServer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Network/DummyConnectionServer.h b/Swiften/Network/DummyConnectionServer.h index 970cbb7..a4fd07f 100644 --- a/Swiften/Network/DummyConnectionServer.h +++ b/Swiften/Network/DummyConnectionServer.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010-2016 Isode Limited. | 2 | * Copyright (c) 2010-2018 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -17,8 +17,8 @@ | |||
| 17 | namespace Swift { | 17 | namespace Swift { |
| 18 | class SWIFTEN_API DummyConnectionServer : public ConnectionServer, public EventOwner, public std::enable_shared_from_this<DummyConnectionServer> { | 18 | class SWIFTEN_API DummyConnectionServer : public ConnectionServer, public EventOwner, public std::enable_shared_from_this<DummyConnectionServer> { |
| 19 | public: | 19 | public: |
| 20 | DummyConnectionServer(EventLoop* /*eventLoop*/, int port) : localAddressPort(HostAddress(), port) {} | 20 | DummyConnectionServer(EventLoop* /*eventLoop*/, unsigned short port) : localAddressPort(HostAddress(), port) {} |
| 21 | DummyConnectionServer(EventLoop* /*eventLoop*/, const Swift::HostAddress& hostAddress, int port) : localAddressPort(hostAddress, port) {} | 21 | DummyConnectionServer(EventLoop* /*eventLoop*/, const Swift::HostAddress& hostAddress, unsigned short port) : localAddressPort(hostAddress, port) {} |
| 22 | virtual ~DummyConnectionServer() {} | 22 | virtual ~DummyConnectionServer() {} |
| 23 | 23 | ||
| 24 | virtual HostAddressPort getAddressPort() const { | 24 | virtual HostAddressPort getAddressPort() const { |
Swift