Fix unused parameter warnings on clang.

This commit is contained in:
ThePhD 2014-08-05 09:22:43 -07:00
parent 63e66a40c2
commit c123fd9204

View File

@ -41,7 +41,7 @@ auto resolve_f( std::true_type, F&& f ) -> decltype( resolve_i( types<function_s
} }
template<class F> template<class F>
void resolve_f( std::false_type, F&& f ) { void resolve_f( std::false_type, F&& ) {
static_assert( has_deducible_signature<F>::value, "Cannot use no-template-parameter call with an overloaded functor: specify the signature" ); static_assert( has_deducible_signature<F>::value, "Cannot use no-template-parameter call with an overloaded functor: specify the signature" );
} }