mirror of https://github.com/davisking/dlib.git
Minor changes to avoid compiler warnings from clang++
This commit is contained in:
parent
a2331a99f2
commit
9ef5195ca6
|
@ -256,12 +256,12 @@ namespace dlib
|
|||
|
||||
template <typename U>
|
||||
bool aliases (
|
||||
const matrix_exp<U>& item
|
||||
const matrix_exp<U>&
|
||||
) const { return false; }
|
||||
|
||||
template <typename U>
|
||||
bool destructively_aliases (
|
||||
const matrix_exp<U>& item
|
||||
const matrix_exp<U>&
|
||||
) const { return false; }
|
||||
|
||||
long nr (
|
||||
|
|
|
@ -299,16 +299,16 @@ namespace dlib
|
|||
typename T
|
||||
>
|
||||
void serialize (
|
||||
const sparse_linear_kernel<T>& item,
|
||||
std::ostream& out
|
||||
const sparse_linear_kernel<T>& ,
|
||||
std::ostream&
|
||||
){}
|
||||
|
||||
template <
|
||||
typename T
|
||||
>
|
||||
void deserialize (
|
||||
sparse_linear_kernel<T>& item,
|
||||
std::istream& in
|
||||
sparse_linear_kernel<T>& ,
|
||||
std::istream&
|
||||
){}
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
@ -362,16 +362,16 @@ namespace dlib
|
|||
typename T
|
||||
>
|
||||
void serialize (
|
||||
const sparse_histogram_intersection_kernel<T>& item,
|
||||
std::ostream& out
|
||||
const sparse_histogram_intersection_kernel<T>& ,
|
||||
std::ostream&
|
||||
){}
|
||||
|
||||
template <
|
||||
typename T
|
||||
>
|
||||
void deserialize (
|
||||
sparse_histogram_intersection_kernel<T>& item,
|
||||
std::istream& in
|
||||
sparse_histogram_intersection_kernel<T>& ,
|
||||
std::istream&
|
||||
){}
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue