diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-08-21 11:04:21 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-08-21 11:04:21 +0000 |
commit | 96c337af8c1b79911fe0268db9337970f794094c (patch) | |
tree | 5a73a02c5ed3b076e2866cdcb708079df0d10074 /lib/server/SocketStream.h | |
parent | d68ebb825e12bf7e3a99be456f0e02e5e374b7e3 (diff) |
Make Open() take a const std::string& for the socket name instead of a
const char *, for C++ style.
Diffstat (limited to 'lib/server/SocketStream.h')
-rw-r--r-- | lib/server/SocketStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/server/SocketStream.h b/lib/server/SocketStream.h index 51f2e306..fa81cfd9 100644 --- a/lib/server/SocketStream.h +++ b/lib/server/SocketStream.h @@ -36,7 +36,7 @@ public: SocketStream(const SocketStream &rToCopy); ~SocketStream(); - void Open(int Type, const char *Name, int Port = 0); + void Open(int Type, const std::string& rName, int Port = 0); void Attach(int socket); virtual int Read(void *pBuffer, int NBytes, int Timeout = IOStream::TimeOutInfinite); |