chore: updated operator formatting
This commit is contained in:
parent
c689d16dfd
commit
c55d6b67ef
|
@ -88,22 +88,28 @@ struct PlannerNodeHasher {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static _FORCE_INLINE_ bool operator==(PlannerNode const &lhs, PlannerNode const &rhs) {
|
static _FORCE_INLINE_
|
||||||
|
bool operator==(PlannerNode const &lhs, PlannerNode const &rhs) {
|
||||||
return PlannerNodeHasher::hash(lhs) == PlannerNodeHasher::hash(rhs);
|
return PlannerNodeHasher::hash(lhs) == PlannerNodeHasher::hash(rhs);
|
||||||
}
|
}
|
||||||
static _FORCE_INLINE_ bool operator!=(PlannerNode const &lhs, PlannerNode const &rhs) {
|
static _FORCE_INLINE_
|
||||||
|
bool operator!=(PlannerNode const &lhs, PlannerNode const &rhs) {
|
||||||
return !(lhs == rhs);
|
return !(lhs == rhs);
|
||||||
}
|
}
|
||||||
static _FORCE_INLINE_ bool operator<(PlannerNode const &lhs, PlannerNode const &rhs) {
|
static _FORCE_INLINE_
|
||||||
|
bool operator<(PlannerNode const &lhs, PlannerNode const &rhs) {
|
||||||
return lhs.open_requirements.size() < rhs.open_requirements.size();
|
return lhs.open_requirements.size() < rhs.open_requirements.size();
|
||||||
}
|
}
|
||||||
static _FORCE_INLINE_ bool operator>=(PlannerNode const &lhs, PlannerNode const &rhs) {
|
static _FORCE_INLINE_
|
||||||
|
bool operator>=(PlannerNode const &lhs, PlannerNode const &rhs) {
|
||||||
return !(lhs < rhs);
|
return !(lhs < rhs);
|
||||||
}
|
}
|
||||||
static _FORCE_INLINE_ bool operator>(PlannerNode const &lhs, PlannerNode const &rhs) {
|
static _FORCE_INLINE_
|
||||||
|
bool operator>(PlannerNode const &lhs, PlannerNode const &rhs) {
|
||||||
return lhs.open_requirements.size() > rhs.open_requirements.size();
|
return lhs.open_requirements.size() > rhs.open_requirements.size();
|
||||||
}
|
}
|
||||||
static _FORCE_INLINE_ bool operator<=(PlannerNode const &lhs, PlannerNode const &rhs) {
|
static _FORCE_INLINE_
|
||||||
|
bool operator<=(PlannerNode const &lhs, PlannerNode const &rhs) {
|
||||||
return !(lhs > rhs);
|
return !(lhs > rhs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue