mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Fix unused parameter warnings on clang.
This commit is contained in:
parent
63e66a40c2
commit
c123fd9204
|
@ -41,7 +41,7 @@ auto resolve_f( std::true_type, F&& f ) -> decltype( resolve_i( types<function_s
|
|||
}
|
||||
|
||||
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" );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user