Commit f3f1a826 authored by Adrià Arrufat's avatar Adrià Arrufat Committed by Davis E. King

more pedantic silencing (#1763)

* prevent GCC from complaining about this unused parameter
parent dbe569a1
...@@ -2241,8 +2241,7 @@ namespace dlib ...@@ -2241,8 +2241,7 @@ namespace dlib
if (version != "add_prev_") if (version != "add_prev_")
throw serialization_error("Unexpected version '"+version+"' found while deserializing dlib::add_prev_."); throw serialization_error("Unexpected version '"+version+"' found while deserializing dlib::add_prev_.");
} }
friend std::ostream& operator<<(std::ostream& out, const add_prev_& )
friend std::ostream& operator<<(std::ostream& out, const add_prev_& item)
{ {
out << "add_prev"<<id; out << "add_prev"<<id;
return out; return out;
......
...@@ -54,7 +54,7 @@ namespace dlib ...@@ -54,7 +54,7 @@ namespace dlib
return UNKNOWN; return UNKNOWN;
} }
}; }
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
...@@ -105,7 +105,7 @@ namespace dlib ...@@ -105,7 +105,7 @@ namespace dlib
double, double,
compute_object_score, compute_object_score,
( const matrix<double,0,1>& w, const rectangle& obj) const ( const matrix<double,0,1>& w, const rectangle& obj) const
); )
template <typename fe_type> template <typename fe_type>
typename enable_if<has_compute_object_score<fe_type> >::type compute_all_rect_scores ( typename enable_if<has_compute_object_score<fe_type> >::type compute_all_rect_scores (
......
...@@ -64,7 +64,7 @@ namespace dlib ...@@ -64,7 +64,7 @@ namespace dlib
bool, bool,
template reject_labeling<matrix<unsigned long> >, template reject_labeling<matrix<unsigned long> >,
(const typename T::sequence_type&, const matrix_exp<matrix<unsigned long> >&, unsigned long)const (const typename T::sequence_type&, const matrix_exp<matrix<unsigned long> >&, unsigned long)const
); )
template <typename feature_extractor, typename EXP, typename sequence_type> template <typename feature_extractor, typename EXP, typename sequence_type>
typename enable_if<has_reject_labeling<feature_extractor>,bool>::type call_reject_labeling_if_exists ( typename enable_if<has_reject_labeling<feature_extractor>,bool>::type call_reject_labeling_if_exists (
......
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