We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 772c2aa commit 1f08ac4Copy full SHA for 1f08ac4
vpr/src/route/route_tree.h
@@ -272,10 +272,10 @@ class RouteTreeNode {
272
constexpr bool is_leaf(void) const { return _is_leaf; }
273
274
/** Equality operator. For now, just compare the addresses */
275
- friend bool operator==(const RouteTreeNode& lhs, const RouteTreeNode& rhs) {
+ friend bool operator==(const RouteTreeNode& lhs, const RouteTreeNode& rhs) noexcept {
276
return &lhs == &rhs;
277
}
278
- friend bool operator!=(const RouteTreeNode& lhs, const RouteTreeNode& rhs) {
+ friend bool operator!=(const RouteTreeNode& lhs, const RouteTreeNode& rhs) noexcept {
279
return !(lhs == rhs);
280
281
0 commit comments