From e2e876790274513d5f38ac4c08b77d639e6cdf77 Mon Sep 17 00:00:00 2001 From: evomarc Date: Fri, 21 Jun 2002 13:50:39 +0000 Subject: [PATCH] Changd a const_iterator to iterator in method it_best_element God (or Maarten :-) knows why this was there --- eo/src/eoPop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo/src/eoPop.h b/eo/src/eoPop.h index 353c1302..bcd49c9f 100644 --- a/eo/src/eoPop.h +++ b/eo/src/eoPop.h @@ -161,7 +161,7 @@ class eoPop: public vector, public eoObject, public eoPersistent /** returns an iterator to the best individual DOES NOT MOVE ANYBODY */ eoPop::iterator it_best_element() { - typename eoPop::const_iterator it = max_element(begin(), end()); + typename eoPop::iterator it = max_element(begin(), end()); return it; }