* commented unused function params

This commit is contained in:
Caner Candan 2012-05-01 20:49:29 +02:00
commit 0d5bf295cb
5 changed files with 5 additions and 5 deletions

View file

@ -129,7 +129,7 @@ private :
class eoDummyEval : public eoPopEvalFunc<POT>
{
public:
void operator()(eoPop<POT> &,eoPop<POT> &_pop)
void operator()(eoPop<POT> &,eoPop<POT> &/*_pop*/)
{}
}
dummyEval;

View file

@ -39,7 +39,7 @@ public:
/** It returns 'true' only if the current number of generations modulo
the period doen't equal to zero. */
bool operator () (const eoPop <EOT> & pop)
bool operator () (const eoPop <EOT> & /*pop*/)
{
return ((++ counter) % period) != 0 ;
}

View file

@ -46,7 +46,7 @@ template <class EOT> class eoProportionalSelect: public eoSelectOne<EOT>
{
public:
/// Sanity check
eoProportionalSelect(const eoPop<EOT>& pop = eoPop<EOT>())
eoProportionalSelect(const eoPop<EOT>& /*pop*/ = eoPop<EOT>())
{
if (minimizing_fitness<EOT>())
throw std::logic_error("eoProportionalSelect: minimizing fitness");

View file

@ -241,7 +241,7 @@ private:
{
public:
eoDummyFlight () {}
void operator () (POT & _po) {}
void operator () (POT & /*_po*/) {}
}dummyFlight;
// if the initializer does not need to be used, use the dummy one instead

View file

@ -57,7 +57,7 @@ public:
/**
* Update the neighborhood of the given particle.
*/
virtual void updateNeighborhood(POT & ,unsigned _indice){}
virtual void updateNeighborhood(POT & ,unsigned /*_indice*/){}
/**