repared some compile warning messages
This commit is contained in:
parent
1b3172a40c
commit
2b3db39aff
2 changed files with 6 additions and 2 deletions
|
|
@ -65,8 +65,9 @@ public:
|
||||||
|
|
||||||
/** Returns false when Ctrl C has been typed in
|
/** Returns false when Ctrl C has been typed in
|
||||||
* reached */
|
* reached */
|
||||||
virtual bool operator() ( const eoPop<EOT>& _vEO )
|
virtual bool operator() ( const eoPop<EOT>& _vEO )
|
||||||
{
|
{
|
||||||
|
(void)_vEO;
|
||||||
if (arret_demande)
|
if (arret_demande)
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@
|
||||||
|
|
||||||
#include <eoContinue.h>
|
#include <eoContinue.h>
|
||||||
#include <utils/eoParam.h>
|
#include <utils/eoParam.h>
|
||||||
|
#include <utils/eoLogger.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Generational continuator: continues until a number of generations is reached
|
Generational continuator: continues until a number of generations is reached
|
||||||
*/
|
*/
|
||||||
|
|
@ -52,13 +54,14 @@ public:
|
||||||
/** Returns false when a certain number of generations is
|
/** Returns false when a certain number of generations is
|
||||||
* reached */
|
* reached */
|
||||||
virtual bool operator() ( const eoPop<EOT>& _vEO ) {
|
virtual bool operator() ( const eoPop<EOT>& _vEO ) {
|
||||||
|
(void)_vEO;
|
||||||
thisGeneration++;
|
thisGeneration++;
|
||||||
value() = thisGeneration;
|
value() = thisGeneration;
|
||||||
// std::cout << " [" << thisGeneration << "] ";
|
// std::cout << " [" << thisGeneration << "] ";
|
||||||
if (thisGeneration >= repTotalGenerations)
|
if (thisGeneration >= repTotalGenerations)
|
||||||
{
|
{
|
||||||
if (verbose)
|
if (verbose)
|
||||||
std::cout << "STOP in eoGenContinue: Reached maximum number of generations [" << thisGeneration << "/" << repTotalGenerations << "]\n";
|
eo::log << eo::logging << "STOP in eoGenContinue: Reached maximum number of generations [" << thisGeneration << "/" << repTotalGenerations << "]\n";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Reference in a new issue