Minor changes to avoid compiler warnings from clang++

This commit is contained in:
Davis King 2011-11-06 10:38:52 -05:00
parent a2331a99f2
commit 9ef5195ca6
2 changed files with 10 additions and 10 deletions

View File

@ -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 (

View File

@ -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&
){}
// ----------------------------------------------------------------------------------------