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
5599fb92
Commit
5599fb92
authored
May 16, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor change to avoid a compiler warning.
parent
63dfa090
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
bridge.h
dlib/bridge/bridge.h
+6
-0
No files found.
dlib/bridge/bridge.h
View file @
5599fb92
...
...
@@ -348,6 +348,9 @@ namespace dlib
sockstreambuf
::
kernel_2a
buf
(
con
);
std
::
istream
in
(
&
buf
);
typename
receive_pipe_type
::
type
item
;
// This isn't necessary but doing it avoids a warning about
// item being uninitialized sometimes.
assign_zero_if_built_in_scalar_type
(
item
);
while
(
in
.
peek
()
!=
EOF
)
{
...
...
@@ -417,6 +420,9 @@ namespace dlib
sockstreambuf
::
kernel_2a
buf
(
con
);
std
::
ostream
out
(
&
buf
);
typename
transmit_pipe_type
::
type
item
;
// This isn't necessary but doing it avoids a warning about
// item being uninitialized sometimes.
assign_zero_if_built_in_scalar_type
(
item
);
while
(
out
)
...
...
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