From 64476d7561f2c8d8fe3a25d0e996fa3f0cfcb8cc Mon Sep 17 00:00:00 2001 From: Johann Dreo Date: Thu, 21 Mar 2013 07:42:00 +0100 Subject: [PATCH] buildfix: MOEO declare base class returning non-const bool --- moeo/src/comparator/moeoObjectiveVectorComparator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moeo/src/comparator/moeoObjectiveVectorComparator.h b/moeo/src/comparator/moeoObjectiveVectorComparator.h index a34112690..76a41eff1 100644 --- a/moeo/src/comparator/moeoObjectiveVectorComparator.h +++ b/moeo/src/comparator/moeoObjectiveVectorComparator.h @@ -46,7 +46,7 @@ * The template argument ObjectiveVector have to be a moeoObjectiveVector. */ template < class ObjectiveVector > -class moeoObjectiveVectorComparator : public eoBF < const ObjectiveVector &, const ObjectiveVector &, const bool > +class moeoObjectiveVectorComparator : public eoBF < const ObjectiveVector &, const ObjectiveVector &, bool > {}; #endif /*MOEOOBJECTIVEVECTORCOMPARATOR_H_*/