Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
2b7a3627
Commit
2b7a3627
authored
Nov 25, 2012
by
Davis King
Browse files
Minor changes to avoid a compiler error and warning in visual studio
parent
1527db6b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
dlib/iosockstream/iosockstream.h
dlib/iosockstream/iosockstream.h
+7
-3
dlib/vectorstream/vectorstream.h
dlib/vectorstream/vectorstream.h
+1
-0
No files found.
dlib/iosockstream/iosockstream.h
View file @
2b7a3627
...
...
@@ -19,14 +19,17 @@ namespace dlib
{
public:
iosockstream
()
iosockstream
(
)
:
std
::
iostream
(
0
)
{
tie
(
this
);
}
iosockstream
(
const
network_address
&
addr
)
)
:
std
::
iostream
(
0
)
{
tie
(
this
);
open
(
addr
);
...
...
@@ -35,7 +38,8 @@ namespace dlib
iosockstream
(
const
network_address
&
addr
,
unsigned
long
timeout
)
)
:
std
::
iostream
(
0
)
{
tie
(
this
);
open
(
addr
,
timeout
);
...
...
dlib/vectorstream/vectorstream.h
View file @
2b7a3627
...
...
@@ -10,6 +10,7 @@
#include <streambuf>
#include <vector>
#include <cstdio>
#include "../algs.h"
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