Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
4ee56cb6
Commit
4ee56cb6
authored
Mar 18, 2014
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
sockets_kernel_1.h
dlib/sockets/sockets_kernel_1.h
+6
-6
sockets_kernel_2.h
dlib/sockets/sockets_kernel_2.h
+6
-6
No files found.
dlib/sockets/sockets_kernel_1.h
View file @
4ee56cb6
...
...
@@ -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
(
...
...
dlib/sockets/sockets_kernel_2.h
View file @
4ee56cb6
...
...
@@ -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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment