diff options
Diffstat (limited to 'Sluift/SluiftComponent.h')
-rw-r--r-- | Sluift/SluiftComponent.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Sluift/SluiftComponent.h b/Sluift/SluiftComponent.h index d45c3b2..586a94e 100644 --- a/Sluift/SluiftComponent.h +++ b/Sluift/SluiftComponent.h @@ -1,3 +1,3 @@ /* - * Copyright (c) 2014-2016 Isode Limited. + * Copyright (c) 2014-2018 Isode Limited. * All rights reserved. @@ -65,3 +65,3 @@ namespace Swift { - void connect(const std::string& host, int port); + void connect(const std::string& host, unsigned short port); void waitConnected(int timeout); @@ -87,3 +87,3 @@ namespace Swift { boost::optional<SluiftComponent::Event> getNextEvent(int timeout, - boost::function<bool (const Event&)> condition = 0); + boost::function<bool (const Event&)> condition = boost::function<bool (const Event&)>()); |