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