summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/input/inputEventHandler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/inputEventHandler.h b/src/input/inputEventHandler.h
index 735b75c..46e688c 100644
--- a/src/input/inputEventHandler.h
+++ b/src/input/inputEventHandler.h
@@ -92,12 +92,12 @@ typedef Security<AllowEverybody> Unprivileged;
// as porting efforts are already underway, we include the necessary
// machinery anyway.
/////////////////////////////////////////////////////////////////////////
-template<typename SystemTrait>
+template<IMPLICIT_TYPE_LIST_PARAMS(Trait)>
BEGIN_POLICY_CLASS(Require)
{
static const bool areSystemRequirementsFulfilled =
- NextPolicy::areSystemRequirementsFulfilled &&
- detail::Matches<SystemTrait, detail::SystemTraits>::value;
+ NextPolicy::areSystemRequirementsFulfilled ||
+ detail::Matches<AllOf<IMPLICIT_TYPE_LIST_ARGS(Trait)>, detail::SystemTraits>::value;
}
END_POLICY_CLASS