Fix compilation problem
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1459 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
c798938fe0
commit
986ae8b9c1
1 changed files with 3 additions and 2 deletions
|
|
@ -76,12 +76,12 @@ class PhyloMOEOFinalSolutionsArchive: public PhyloMOEOParetoSolutionsArchive
|
|||
{
|
||||
public:
|
||||
// overwrite the default operator
|
||||
void operator()(const eoPop < PhyloMOEO > & _pop) { update(_pop); }
|
||||
bool operator()(const eoPop < PhyloMOEO > & _pop) { return update(_pop); }
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
void update(const eoPop < PhyloMOEO > & _pop)
|
||||
bool update(const eoPop < PhyloMOEO > & _pop)
|
||||
{
|
||||
|
||||
std::copy(_pop.begin(), _pop.end(), back_inserter(*this) );
|
||||
|
|
@ -111,6 +111,7 @@ class PhyloMOEOFinalSolutionsArchive: public PhyloMOEOParetoSolutionsArchive
|
|||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue