mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
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.
This commit is contained in:
parent
353e885908
commit
4ee56cb684
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user