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
3fca40f1
Commit
3fca40f1
authored
Nov 26, 2016
by
Davis King
Browse files
Changed to avoid gcc warnings
parent
91ed0085
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dlib/dnn/input.h
dlib/dnn/input.h
+4
-4
No files found.
dlib/dnn/input.h
View file @
3fca40f1
...
...
@@ -365,12 +365,12 @@ namespace dlib
}
friend
void
serialize
(
const
input
&
item
,
std
::
ostream
&
out
)
friend
void
serialize
(
const
input
&
/*
item
*/
,
std
::
ostream
&
out
)
{
serialize
(
"input<matrix>"
,
out
);
}
friend
void
deserialize
(
input
&
item
,
std
::
istream
&
in
)
friend
void
deserialize
(
input
&
/*
item
*/
,
std
::
istream
&
in
)
{
std
::
string
version
;
deserialize
(
version
,
in
);
...
...
@@ -378,13 +378,13 @@ namespace dlib
throw
serialization_error
(
"Unexpected version found while deserializing dlib::input."
);
}
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
input
&
item
)
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
input
&
/*
item
*/
)
{
out
<<
"input<matrix>"
;
return
out
;
}
friend
void
to_xml
(
const
input
&
item
,
std
::
ostream
&
out
)
friend
void
to_xml
(
const
input
&
/*
item
*/
,
std
::
ostream
&
out
)
{
out
<<
"<input/>"
;
}
...
...
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