[Positioning] Result: fix operator=() & ==()

This commit is contained in:
Matteo Cypriani 2011-05-11 09:44:49 +02:00
parent 506917b5ec
commit 799af46e57
1 changed files with 3 additions and 1 deletions

View File

@ -39,6 +39,7 @@ const Result& Result::operator=(const Result &source)
algorithm = source.algorithm ;
position = source.position ;
error = source.error ;
return *this ;
}
@ -48,7 +49,8 @@ bool Result::operator==(const Result &source) const
{
return
algorithm == source.algorithm &&
position == source.position ;
position == source.position &&
error == source.error ;
}