added some typename statements to make it compile without warnings under gcc3.2

This commit is contained in:
okoenig 2002-11-03 13:07:43 +00:00
commit c175b152bc
10 changed files with 20 additions and 20 deletions

View file

@ -130,7 +130,7 @@ typedef typename EOT::AtomType AtomType;
virtual void operator()(EOT& _chrom)
{
_chrom.resize(offset + rng.random(extent));
vector<AtomType>::iterator it;
typename vector<AtomType>::iterator it;
for (it=_chrom.begin(); it<_chrom.end(); it++)
init(*it);
_chrom.invalidate();