From c123fd9204b6a8593fb046eb30c423075330a8a4 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Tue, 5 Aug 2014 09:22:43 -0700 Subject: [PATCH] Fix unused parameter warnings on clang. --- sol/resolve.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sol/resolve.hpp b/sol/resolve.hpp index 201223e8..80c5ae9f 100644 --- a/sol/resolve.hpp +++ b/sol/resolve.hpp @@ -41,7 +41,7 @@ auto resolve_f( std::true_type, F&& f ) -> decltype( resolve_i( types -void resolve_f( std::false_type, F&& f ) { +void resolve_f( std::false_type, F&& ) { static_assert( has_deducible_signature::value, "Cannot use no-template-parameter call with an overloaded functor: specify the signature" ); }