|
@@ -220,7 +220,9 @@ Candidate::operator string() const {
|
|
}
|
|
}
|
|
|
|
|
|
bool Candidate::operator==(const Candidate &other) const {
|
|
bool Candidate::operator==(const Candidate &other) const {
|
|
- return mFoundation == other.mFoundation;
|
|
|
|
|
|
+ return (mFoundation == other.mFoundation &&
|
|
|
|
+ mService == other.mService &&
|
|
|
|
+ mNode == other.mNode);
|
|
}
|
|
}
|
|
|
|
|
|
bool Candidate::operator!=(const Candidate &other) const {
|
|
bool Candidate::operator!=(const Candidate &other) const {
|