summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-type.h
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-04-28 12:00:52 +0800
committerGitHub <noreply@github.com>2023-04-28 12:00:52 +0800
commitb07f4effda2f87ac9b3229e588121d224fd8cf52 (patch)
tree95d4602ba4a3fffe9a879a4960602e8b8d887017 /source/slang/slang-ast-type.h
parent53793612e3a2f1cadc4f7cbf703bcd94b7121414 (diff)
Use Index for FuncType param count (#2853)
Diffstat (limited to 'source/slang/slang-ast-type.h')
-rw-r--r--source/slang/slang-ast-type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ast-type.h b/source/slang/slang-ast-type.h
index cb3fde9f9..67288a59d 100644
--- a/source/slang/slang-ast-type.h
+++ b/source/slang/slang-ast-type.h
@@ -674,8 +674,8 @@ class FuncType : public Type
Type* resultType = nullptr;
Type* errorType = nullptr;
- UInt getParamCount() { return paramTypes.getCount(); }
- Type* getParamType(UInt index) { return paramTypes[index]; }
+ Index getParamCount() { return paramTypes.getCount(); }
+ Type* getParamType(Index index) { return paramTypes[index]; }
Type* getResultType() { return resultType; }
Type* getErrorType() { return errorType; }