diff options
| author | Ronan <ro.cailleau@gmail.com> | 2025-09-30 08:22:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-30 06:22:50 +0000 |
| commit | ee5adb87050ae7c0b96056a67dddc5d48174e695 (patch) | |
| tree | 917893600575e8d0bba7d40d4e872ecc13d217fd /source/core | |
| parent | a6deb5ed82cb8fc6b4f4c5c5fee264e09f97ff89 (diff) | |
canonical type equality constraint (#8445)
Fixes #8439
When checked, generic type equality constraints types are now in a
canonical order, allowing for a commutative type equality operator.
---------
Co-authored-by: Mukund Keshava <mkeshava@nvidia.com>
Diffstat (limited to 'source/core')
| -rw-r--r-- | source/core/slang-list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-list.h b/source/core/slang-list.h index 597f1b9b6..db509d6ba 100644 --- a/source/core/slang-list.h +++ b/source/core/slang-list.h @@ -583,7 +583,7 @@ public: } template<typename T2> - Index binarySearch(const T2& obj) + Index binarySearch(const T2& obj) const { return binarySearch( obj, |
