diff --git a/dlib/matrix/matrix_expressions.h b/dlib/matrix/matrix_expressions.h index 4937e8dca..4442ce258 100644 --- a/dlib/matrix/matrix_expressions.h +++ b/dlib/matrix/matrix_expressions.h @@ -256,12 +256,12 @@ namespace dlib template bool aliases ( - const matrix_exp& item + const matrix_exp& ) const { return false; } template bool destructively_aliases ( - const matrix_exp& item + const matrix_exp& ) const { return false; } long nr ( diff --git a/dlib/svm/sparse_kernel.h b/dlib/svm/sparse_kernel.h index 0df4f5f0d..ec37fca22 100644 --- a/dlib/svm/sparse_kernel.h +++ b/dlib/svm/sparse_kernel.h @@ -299,16 +299,16 @@ namespace dlib typename T > void serialize ( - const sparse_linear_kernel& item, - std::ostream& out + const sparse_linear_kernel& , + std::ostream& ){} template < typename T > void deserialize ( - sparse_linear_kernel& item, - std::istream& in + sparse_linear_kernel& , + std::istream& ){} // ---------------------------------------------------------------------------------------- @@ -362,16 +362,16 @@ namespace dlib typename T > void serialize ( - const sparse_histogram_intersection_kernel& item, - std::ostream& out + const sparse_histogram_intersection_kernel& , + std::ostream& ){} template < typename T > void deserialize ( - sparse_histogram_intersection_kernel& item, - std::istream& in + sparse_histogram_intersection_kernel& , + std::istream& ){} // ----------------------------------------------------------------------------------------