From a62be597990966b9516995650baf750ee6a0146b Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 20 Feb 2024 15:37:11 -0800 Subject: Support link time type specialization. (#3604) --- source/core/slang-list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core') 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 - int binarySearch(const T2& obj) + Index binarySearch(const T2& obj) { return binarySearch(obj, [](T & curObj, const T2 & thatObj)->int -- cgit v1.2.3