From e07c50457198492bade2432cefd6c12474feb93c Mon Sep 17 00:00:00 2001 From: evomarc Date: Tue, 8 Nov 2005 11:31:01 +0000 Subject: [PATCH] Removed extra colon (;) at end of class definitions. They didn't hurt until gcc 3.4.1 but then they generated an error! --- eo/src/utils/eoRNG.h | 2 +- eo/src/utils/selectors.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eo/src/utils/eoRNG.h b/eo/src/utils/eoRNG.h index a4bbf073..9c7d89a0 100644 --- a/eo/src/utils/eoRNG.h +++ b/eo/src/utils/eoRNG.h @@ -225,7 +225,7 @@ public : fortune -= vec[i++]; } return --i; - }; + } /** Randomly select element from vector. diff --git a/eo/src/utils/selectors.h b/eo/src/utils/selectors.h index 2114a458..86f2a0a6 100644 --- a/eo/src/utils/selectors.h +++ b/eo/src/utils/selectors.h @@ -66,7 +66,7 @@ bool minimizing_fitness() #endif return eo2 < eo1; // check whether we have a minimizing fitness -}; +} inline double scale_fitness(const std::pair& _minmax, double _value) {