* switched eoGenOp::apply method from protected to public in order to be visible from eoSequentialOp
This commit is contained in:
parent
3a409a789e
commit
b0844ae27b
1 changed files with 6 additions and 6 deletions
|
|
@ -69,14 +69,14 @@ class eoGenOp : public eoOp<EOT>, public eoUF<eoPopulator<EOT> &, void>
|
||||||
virtual unsigned max_production(void) = 0;
|
virtual unsigned max_production(void) = 0;
|
||||||
|
|
||||||
virtual std::string className() const = 0;
|
virtual std::string className() const = 0;
|
||||||
|
|
||||||
void operator()(eoPopulator<EOT>& _pop)
|
void operator()(eoPopulator<EOT>& _pop)
|
||||||
{
|
{
|
||||||
_pop.reserve(max_production());
|
_pop.reserve( max_production() );
|
||||||
apply(_pop);
|
apply(_pop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//protected :
|
||||||
protected :
|
|
||||||
/** the function that will do the work
|
/** the function that will do the work
|
||||||
*/
|
*/
|
||||||
virtual void apply(eoPopulator<EOT>& _pop) = 0;
|
virtual void apply(eoPopulator<EOT>& _pop) = 0;
|
||||||
|
|
|
||||||
Reference in a new issue