Fix compilation problem

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1459 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
wcancino 2009-02-22 17:59:13 +00:00
commit 986ae8b9c1

View file

@ -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