Commit 9ef5195c authored by Davis King's avatar Davis King

Minor changes to avoid compiler warnings from clang++

parent a2331a99
...@@ -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 (
......
...@@ -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&
){} ){}
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment