summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/ConnectionServerFactory.h')
-rw-r--r--Swiften/Network/ConnectionServerFactory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Network/ConnectionServerFactory.h b/Swiften/Network/ConnectionServerFactory.h
index 413131e..2ebccc1 100644
--- a/Swiften/Network/ConnectionServerFactory.h
+++ b/Swiften/Network/ConnectionServerFactory.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 */
@@ -24,8 +24,8 @@ namespace Swift {
24 public: 24 public:
25 virtual ~ConnectionServerFactory(); 25 virtual ~ConnectionServerFactory();
26 26
27 virtual std::shared_ptr<ConnectionServer> createConnectionServer(int port) = 0; 27 virtual std::shared_ptr<ConnectionServer> createConnectionServer(unsigned short port) = 0;
28 28
29 virtual std::shared_ptr<ConnectionServer> createConnectionServer(const Swift::HostAddress& hostAddress, int port) = 0; 29 virtual std::shared_ptr<ConnectionServer> createConnectionServer(const Swift::HostAddress& hostAddress, unsigned short port) = 0;
30 }; 30 };
31} 31}