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
9ef5195c
"setup.cfg" did not exist on "16363650d07c8efb6fcb602570b360b2f6e1f710"
Commit
9ef5195c
authored
Nov 06, 2011
by
Davis King
Browse files
Minor changes to avoid compiler warnings from clang++
parent
a2331a99
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
dlib/matrix/matrix_expressions.h
dlib/matrix/matrix_expressions.h
+2
-2
dlib/svm/sparse_kernel.h
dlib/svm/sparse_kernel.h
+8
-8
No files found.
dlib/matrix/matrix_expressions.h
View file @
9ef5195c
...
@@ -256,12 +256,12 @@ namespace dlib
...
@@ -256,12 +256,12 @@ namespace dlib
template
<
typename
U
>
template
<
typename
U
>
bool
aliases
(
bool
aliases
(
const
matrix_exp
<
U
>&
item
const
matrix_exp
<
U
>&
)
const
{
return
false
;
}
)
const
{
return
false
;
}
template
<
typename
U
>
template
<
typename
U
>
bool
destructively_aliases
(
bool
destructively_aliases
(
const
matrix_exp
<
U
>&
item
const
matrix_exp
<
U
>&
)
const
{
return
false
;
}
)
const
{
return
false
;
}
long
nr
(
long
nr
(
...
...
dlib/svm/sparse_kernel.h
View file @
9ef5195c
...
@@ -299,16 +299,16 @@ namespace dlib
...
@@ -299,16 +299,16 @@ namespace dlib
typename
T
typename
T
>
>
void
serialize
(
void
serialize
(
const
sparse_linear_kernel
<
T
>&
item
,
const
sparse_linear_kernel
<
T
>&
,
std
::
ostream
&
out
std
::
ostream
&
){}
){}
template
<
template
<
typename
T
typename
T
>
>
void
deserialize
(
void
deserialize
(
sparse_linear_kernel
<
T
>&
item
,
sparse_linear_kernel
<
T
>&
,
std
::
istream
&
in
std
::
istream
&
){}
){}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
@@ -362,16 +362,16 @@ namespace dlib
...
@@ -362,16 +362,16 @@ namespace dlib
typename
T
typename
T
>
>
void
serialize
(
void
serialize
(
const
sparse_histogram_intersection_kernel
<
T
>&
item
,
const
sparse_histogram_intersection_kernel
<
T
>&
,
std
::
ostream
&
out
std
::
ostream
&
){}
){}
template
<
template
<
typename
T
typename
T
>
>
void
deserialize
(
void
deserialize
(
sparse_histogram_intersection_kernel
<
T
>&
item
,
sparse_histogram_intersection_kernel
<
T
>&
,
std
::
istream
&
in
std
::
istream
&
){}
){}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
...
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