From c7eccdbe13ca7d0f41e0184be2780d05f5b93e28 Mon Sep 17 00:00:00 2001 From: gustavo Date: Thu, 30 Mar 2000 18:15:14 +0000 Subject: [PATCH] adding const... leaving as is --- eo/src/eoInclusion.h | 2 +- eo/src/eoPopOps.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/eo/src/eoInclusion.h b/eo/src/eoInclusion.h index c776aaaf..c4e17a17 100644 --- a/eo/src/eoInclusion.h +++ b/eo/src/eoInclusion.h @@ -55,7 +55,7 @@ template class eoInclusion: public eoMerge /** Inherited from eoObject. Returns the class name. @see eoObject */ - virtual string className() const {return "eoMerge";}; + virtual string className() const {return "eoInclusion";}; //@} }; diff --git a/eo/src/eoPopOps.h b/eo/src/eoPopOps.h index d92f00db..b719ec23 100644 --- a/eo/src/eoPopOps.h +++ b/eo/src/eoPopOps.h @@ -92,8 +92,7 @@ class eoBinPopOp: public eoObject{ @param _parents the initial generation. Will be kept constant @param _siblings the created offspring. Will be usually an empty population */ - virtual void operator () (const eoPop& _parents, - eoPop& _siblings ) = 0; + virtual void operator () (eoPop& _parents, eoPop& _siblings ) = 0; /** @name Methods from eoObject */ //@{