diff options
Diffstat (limited to 'Sluift/SluiftComponent.cpp')
| -rw-r--r-- | Sluift/SluiftComponent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sluift/SluiftComponent.cpp b/Sluift/SluiftComponent.cpp index ee09380..74728ee 100644 --- a/Sluift/SluiftComponent.cpp +++ b/Sluift/SluiftComponent.cpp | |||
| @@ -40,7 +40,7 @@ SluiftComponent::~SluiftComponent() { | |||
| 40 | delete component; | 40 | delete component; |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | void SluiftComponent::connect(const std::string& host, int port) { | 43 | void SluiftComponent::connect(const std::string& host, unsigned short port) { |
| 44 | if (component->isActive()) { | 44 | if (component->isActive()) { |
| 45 | throw Lua::Exception("Component is already connecting or connected"); | 45 | throw Lua::Exception("Component is already connecting or connected"); |
| 46 | } | 46 | } |
Swift