git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2025 331e1502-861f-0410-8da2-ba01fb791d7f

This commit is contained in:
boufaras 2010-12-14 10:33:49 +00:00
commit 99c8a33b59
2 changed files with 3 additions and 2 deletions

View file

@ -64,7 +64,8 @@ public:
* Assignment operator
* @param _source the source neighbor
*/
virtual moIndexNeighbor<EOT, Fitness> & operator=(const moIndexNeighbor<EOT, Fitness> & _source) {
moIndexNeighbor<EOT, Fitness> & operator=(const moIndexNeighbor<EOT, Fitness> & _source) {
moNeighbor<EOT, Fitness>::operator=(_source);
this->key = _source.key ;
return *this ;

View file

@ -110,7 +110,7 @@ public:
/**
* Setter the position in the Neighborhood
*/
unsigned int setPosition(unsigned int _currentIndex) {
void setPosition(unsigned int _currentIndex) {
currentIndex=_currentIndex;
}