fixed some warning messages while compiling
This commit is contained in:
parent
f98e138562
commit
20a4496b83
3 changed files with 6 additions and 3 deletions
|
|
@ -40,12 +40,12 @@ public:
|
|||
virtual std::string className(void) const { return "eoContinue"; }
|
||||
|
||||
void readFrom (std :: istream & __is) {
|
||||
|
||||
(void)__is;
|
||||
/* It should be implemented by subclasses ! */
|
||||
}
|
||||
|
||||
void printOn (std :: ostream & __os) const {
|
||||
|
||||
(void)__os;
|
||||
/* It should be implemented by subclasses ! */
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ public:
|
|||
/** Returns false when a certain number of evaluations has been done
|
||||
*/
|
||||
virtual bool operator() ( const eoPop<EOT>& _vEO ) {
|
||||
(void)_vEO;
|
||||
if (eval.value() >= repTotalEvaluations)
|
||||
{
|
||||
std::cout << "STOP in eoEvalContinue: Reached maximum number of evaluations [" << repTotalEvaluations << "]\n";
|
||||
|
|
|
|||
|
|
@ -47,7 +47,9 @@ class eoSelectOne : public eoUF<const eoPop<EOT>&, const EOT&>
|
|||
public :
|
||||
/// virtual function to setup some population stats (for instance eoProportional can benefit greatly from this)
|
||||
virtual void setup(const eoPop<EOT>& _pop)
|
||||
{}
|
||||
{
|
||||
(void)_pop;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Reference in a new issue