From c0fc6d58ffd11919ad9ba845c13cb00fd7fadff2 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 4 Dec 2001 00:02:52 +0000 Subject: Small changes --- include/Socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/Socket.h') diff --git a/include/Socket.h b/include/Socket.h index b8ea05e..45dfa2b 100644 --- a/include/Socket.h +++ b/include/Socket.h @@ -12,8 +12,8 @@ class Socket : public Handle { public: Socket() throw (GeneralException); virtual ~Socket() {} - bool SetLocal(String, int = 0); - bool Connect(String, int); + bool SetLocal(const String &, int = 0); + bool Connect(const String &, int); bool Listen(); Socket Accept() throw (GeneralException); bool IsConnected(); -- cgit v1.2.3