From 9c75e1c408c054aedc4e5293d2e3fb844a48f62a Mon Sep 17 00:00:00 2001 From: marc Date: Tue, 29 Feb 2000 05:22:32 +0000 Subject: [PATCH] Modified the order of base type and private data initializations so the g++ does not complain when using the -Wall compile option --- eo/src/eoIndiSelector.h | 2 +- eo/src/eoInserter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eo/src/eoIndiSelector.h b/eo/src/eoIndiSelector.h index 69803d2b..5638f84a 100644 --- a/eo/src/eoIndiSelector.h +++ b/eo/src/eoIndiSelector.h @@ -73,7 +73,7 @@ template class eoPopIndiSelector : public eoIndiSelector { public : - eoPopIndiSelector(void) : pop(0), firstChoice(-1), last(0), eoIndiSelector() {} + eoPopIndiSelector(void) : eoIndiSelector(), pop(0), last(0), firstChoice(-1) {} virtual ~eoPopIndiSelector(void) {} diff --git a/eo/src/eoInserter.h b/eo/src/eoInserter.h index 44ec6885..b651f571 100644 --- a/eo/src/eoInserter.h +++ b/eo/src/eoInserter.h @@ -55,7 +55,7 @@ class eoPopInserter : public eoInserter { public : - eoPopInserter(void) : thePop(0), eoInserter() {} + eoPopInserter(void) : eoInserter(), thePop(0) {} /// Binds the population to this class. This is an initialization routine used by breeders eoInserter& operator()(eoPop& _pop)