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:
parent
9a4946c75c
commit
9c75e1c408
2 changed files with 2 additions and 2 deletions
|
|
@ -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) {}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Reference in a new issue