added typenames for pop::iterator

This commit is contained in:
maartenkeijzer 2003-03-02 11:26:45 +00:00
commit e5c83ac2e8
2 changed files with 5 additions and 5 deletions

View file

@ -73,7 +73,7 @@ public:
throw std::runtime_error("Not enough parents killed in eoMGGReplacement");
// select best offspring
eoPop<EOT>::iterator it = _offspring.it_best_element();
typename eoPop<EOT>::iterator it = _offspring.it_best_element();
// add to parents
_parents.push_back(*it);
// remove from offspring