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
2b7a3627
Commit
2b7a3627
authored
Nov 25, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes to avoid a compiler error and warning in visual studio
parent
1527db6b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
iosockstream.h
dlib/iosockstream/iosockstream.h
+7
-3
vectorstream.h
dlib/vectorstream/vectorstream.h
+1
-0
No files found.
dlib/iosockstream/iosockstream.h
View file @
2b7a3627
...
@@ -19,14 +19,17 @@ namespace dlib
...
@@ -19,14 +19,17 @@ namespace dlib
{
{
public
:
public
:
iosockstream
()
iosockstream
(
)
:
std
::
iostream
(
0
)
{
{
tie
(
this
);
tie
(
this
);
}
}
iosockstream
(
iosockstream
(
const
network_address
&
addr
const
network_address
&
addr
)
)
:
std
::
iostream
(
0
)
{
{
tie
(
this
);
tie
(
this
);
open
(
addr
);
open
(
addr
);
...
@@ -35,7 +38,8 @@ namespace dlib
...
@@ -35,7 +38,8 @@ namespace dlib
iosockstream
(
iosockstream
(
const
network_address
&
addr
,
const
network_address
&
addr
,
unsigned
long
timeout
unsigned
long
timeout
)
)
:
std
::
iostream
(
0
)
{
{
tie
(
this
);
tie
(
this
);
open
(
addr
,
timeout
);
open
(
addr
,
timeout
);
...
...
dlib/vectorstream/vectorstream.h
View file @
2b7a3627
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
#include <streambuf>
#include <streambuf>
#include <vector>
#include <vector>
#include <cstdio>
#include <cstdio>
#include "../algs.h"
namespace
dlib
namespace
dlib
{
{
...
...
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