Minor changes to make it run under Visual Studio 6.0
This commit is contained in:
parent
1d70ba7a9b
commit
ce04cca4b9
2 changed files with 22 additions and 19 deletions
|
|
@ -341,10 +341,13 @@ public :
|
|||
: eoStat<EOT, Fitness>(Fitness(), _description) {}
|
||||
eoBestFitnessStat(unsigned _whichTerm, std::string _description = "Best ")
|
||||
: eoStat<EOT, Fitness>(Fitness(), _description), whichFitnessTerm(_whichTerm) {}
|
||||
|
||||
void operator()(const eoPop<EOT>& _pop)
|
||||
{
|
||||
doit(_pop, Fitness());
|
||||
|
||||
void operator()(const eoPop<EOT>& _pop){
|
||||
#ifdef _MSC_VER
|
||||
doit(_pop, EOT::Fitness() ); // specializations for scalar and std::vector
|
||||
#else
|
||||
doit(_pop, typename EOT::Fitness()); // specializations for scalar and std::vector
|
||||
#endif
|
||||
}
|
||||
|
||||
private :
|
||||
|
|
|
|||
Reference in a new issue