Commit 4ee56cb6 authored by Davis King's avatar Davis King

A minor change to avoid a compiler error from clang 3.4 on Mac OS X 10.9.

Thanks to Martin Fergie for reporting this problem.
parent 353e8859
......@@ -90,8 +90,8 @@ namespace dlib
connection*& new_connection,
unsigned short foreign_port,
const std::string& foreign_ip,
unsigned short local_port = 0,
const std::string& local_ip = ""
unsigned short local_port,
const std::string& local_ip
);
public:
......@@ -255,7 +255,7 @@ namespace dlib
friend int create_listener (
listener*& new_listener,
unsigned short port,
const std::string& ip = ""
const std::string& ip
);
public:
......@@ -312,15 +312,15 @@ namespace dlib
int create_listener (
listener*& new_listener,
unsigned short port,
const std::string& ip
const std::string& ip = ""
);
int create_connection (
connection*& new_connection,
unsigned short foreign_port,
const std::string& foreign_ip,
unsigned short local_port,
const std::string& local_ip
unsigned short local_port = 0,
const std::string& local_ip = ""
);
int create_listener (
......
......@@ -113,8 +113,8 @@ namespace dlib
connection*& new_connection,
unsigned short foreign_port,
const std::string& foreign_ip,
unsigned short local_port = 0,
const std::string& local_ip = ""
unsigned short local_port,
const std::string& local_ip
);
public:
......@@ -299,7 +299,7 @@ namespace dlib
friend int create_listener (
listener*& new_listener,
unsigned short port,
const std::string& ip = ""
const std::string& ip
);
public:
......@@ -356,15 +356,15 @@ namespace dlib
int create_listener (
listener*& new_listener,
unsigned short port,
const std::string& ip
const std::string& ip = ""
);
int create_connection (
connection*& new_connection,
unsigned short foreign_port,
const std::string& foreign_ip,
unsigned short local_port,
const std::string& local_ip
unsigned short local_port = 0,
const std::string& local_ip = ""
);
int create_listener (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment