small fix for gcc-3.3.3
This commit is contained in:
parent
0ad2d5ad2b
commit
cf4849c472
1 changed files with 3 additions and 1 deletions
|
|
@ -152,6 +152,8 @@ class eoSeqPopulator : public eoPopulator<EOT>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
using eoPopulator< EOT >::src;
|
||||||
|
|
||||||
eoSeqPopulator(const eoPop<EOT>& _pop, eoPop<EOT>& _dest) :
|
eoSeqPopulator(const eoPop<EOT>& _pop, eoPop<EOT>& _dest) :
|
||||||
eoPopulator<EOT>(_pop, _dest), current(0) {}
|
eoPopulator<EOT>(_pop, _dest), current(0) {}
|
||||||
|
|
||||||
|
|
@ -161,7 +163,7 @@ public:
|
||||||
throw OutOfIndividuals();
|
throw OutOfIndividuals();
|
||||||
}
|
}
|
||||||
|
|
||||||
const EOT& res = eoPopulator< EOT >::src[current++];
|
const EOT& res = src[current++];
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue