Small modifications here and there to be MSVC++ compatible
Mainly, time.h -> ctime
definition of loop index out of loops when multiply used
no typename in declaration using template typename
This commit is contained in:
parent
a5e3abd9f6
commit
d7c3d973c7
14 changed files with 56 additions and 27 deletions
|
|
@ -37,7 +37,11 @@
|
|||
|
||||
@see eoSelectMany, eoSelectRandom, eoDetTournament, eoStochTournament, eoProportional
|
||||
*/
|
||||
#ifdef _MSC_VER
|
||||
template<class EOT, class WorthT = EOT::Fitness>
|
||||
#else
|
||||
template<class EOT, class WorthT = typename EOT::Fitness>
|
||||
#endif
|
||||
class eoSelectOne : public eoUF<const eoPop<EOT>&, const EOT&>
|
||||
{
|
||||
public :
|
||||
|
|
|
|||
Reference in a new issue