From 3f9cad4f3b353cee381e09083c3c05ccd70c10f9 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Sat, 16 May 2015 23:17:26 +0300 Subject: [PATCH] Multiset: Simpler type handling in predicate adapter template --- libuavcan/include/uavcan/util/multiset.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libuavcan/include/uavcan/util/multiset.hpp b/libuavcan/include/uavcan/util/multiset.hpp index 90e4bf3d6c..c1a99d31ea 100644 --- a/libuavcan/include/uavcan/util/multiset.hpp +++ b/libuavcan/include/uavcan/util/multiset.hpp @@ -171,9 +171,9 @@ private: template struct OperatorToFalsePredicateAdapter : ::uavcan::Noncopyable { - const typename ParameterType::Type oper; + Operator oper; - OperatorToFalsePredicateAdapter(typename ParameterType::Type o) + OperatorToFalsePredicateAdapter(Operator o) : oper(o) { }