diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/CopyJob.h | 2 | ||||
-rw-r--r-- | include/Socket.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/CopyJob.h b/include/CopyJob.h index 14fbf0b..bd859bb 100644 --- a/include/CopyJob.h +++ b/include/CopyJob.h @@ -9,7 +9,7 @@ class CopyJob : public Task { public: - CopyJob(Handle *, Handle *, ssize_t = -1, bool = false, int z = 0); + CopyJob(Handle *, Handle *, ssize_t = -1, bool = false); virtual ~CopyJob(); virtual int Do() throw (GeneralException); virtual String GetName(); 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(); |