From 8ed33c3e9e2648a5a0150c05e06c228336e9e9d6 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 17 Aug 2014 13:32:22 +0200 Subject: Fixed minimum parameter count calculation * the minimum count of parameters to a external function is the maximum parameter count minus all optional parameters * updated error message of "FunctionBase" member method "getError" to reflect the newly implemented possibility of optional parameters --- src/support/type/filter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/support/type') diff --git a/src/support/type/filter.h b/src/support/type/filter.h index 4a0e19f..1433b30 100644 --- a/src/support/type/filter.h +++ b/src/support/type/filter.h @@ -7,13 +7,13 @@ namespace InputXSLT { template < - typename BaseReference, + typename Base, typename Head, typename... Tail > struct filter_derived { typedef typename std::conditional< - std::is_base_of::value, + std::is_base_of::value, std::tuple, std::tuple >::type type; -- cgit v1.2.3