summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-check-decl.cpp')
-rw-r--r--source/slang/slang-check-decl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-check-decl.cpp b/source/slang/slang-check-decl.cpp
index 5054b00bc..fef24e920 100644
--- a/source/slang/slang-check-decl.cpp
+++ b/source/slang/slang-check-decl.cpp
@@ -2314,8 +2314,8 @@ namespace Slang
{
// TODO(tfoley): This copies the parameter array, which is bad for performance.
- auto fstParams = GetParameters(fst).ToArray();
- auto sndParams = GetParameters(snd).ToArray();
+ auto fstParams = GetParameters(fst).toArray();
+ auto sndParams = GetParameters(snd).toArray();
// If the functions have different numbers of parameters, then
// their signatures trivially don't match.