diff options
Diffstat (limited to 'src/hir/path.hpp')
-rw-r--r-- | src/hir/path.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/path.hpp b/src/hir/path.hpp index 80fb4caa..eb9aca27 100644 --- a/src/hir/path.hpp +++ b/src/hir/path.hpp @@ -162,6 +162,7 @@ public: bool operator==(const TraitPath& x) const; bool operator!=(const TraitPath& x) const { return !(*this == x); } + bool operator<(const TraitPath& x) const { return ord(x) == OrdLess; } Ordering ord(const TraitPath& x) const { ORD(m_path, x.m_path); |