Modified the order of base type and private data initializations

so the g++ does not complain when using the -Wall compile option
This commit is contained in:
marc 2000-02-29 05:22:32 +00:00
commit 9c75e1c408
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ template <class EOT>
class eoPopIndiSelector : public eoIndiSelector<EOT>
{
public :
eoPopIndiSelector(void) : pop(0), firstChoice(-1), last(0), eoIndiSelector<EOT>() {}
eoPopIndiSelector(void) : eoIndiSelector<EOT>(), pop(0), last(0), firstChoice(-1) {}
virtual ~eoPopIndiSelector(void) {}

View file

@ -55,7 +55,7 @@ class eoPopInserter : public eoInserter<EOT>
{
public :
eoPopInserter(void) : thePop(0), eoInserter<EOT>() {}
eoPopInserter(void) : eoInserter<EOT>(), thePop(0) {}
/// Binds the population to this class. This is an initialization routine used by breeders
eoInserter<EOT>& operator()(eoPop<EOT>& _pop)