summaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/socket.h b/src/socket.h
index c7dd78f66..8d1ad70ff 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -45,7 +45,7 @@ extern bool socket_enable_debug_output;
class SocketException : public BaseException
{
public:
- SocketException(const char *s):
+ SocketException(const std::string &s):
BaseException(s)
{
}
@@ -54,7 +54,7 @@ public:
class ResolveError : public BaseException
{
public:
- ResolveError(const char *s):
+ ResolveError(const std::string &s):
BaseException(s)
{
}
@@ -63,7 +63,7 @@ public:
class SendFailedException : public BaseException
{
public:
- SendFailedException(const char *s):
+ SendFailedException(const std::string &s):
BaseException(s)
{
}