diff options
| author | Yong He <yonghe@outlook.com> | 2024-02-20 15:37:11 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 15:37:11 -0800 |
| commit | a62be597990966b9516995650baf750ee6a0146b (patch) | |
| tree | 1741b3d5b5859319f278aa6ab821a2f801fd8e08 /source/core | |
| parent | 4d20fd329956ac89408b1628a8291fea01bc9a6d (diff) | |
Support link time type specialization. (#3604)
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 250b6dc49..c0fe28937 100644 --- a/source/core/slang-list.h +++ b/source/core/slang-list.h @@ -570,7 +570,7 @@ namespace Slang } template<typename T2> - int binarySearch(const T2& obj) + Index binarySearch(const T2& obj) { return binarySearch(obj, [](T & curObj, const T2 & thatObj)->int |
