[Positioning] Result: fix operator=() & ==()
This commit is contained in:
parent
506917b5ec
commit
799af46e57
|
@ -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 ;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue