summaryrefslogtreecommitdiffstats
path: root/source/slang/mangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/mangle.cpp')
-rw-r--r--source/slang/mangle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/mangle.cpp b/source/slang/mangle.cpp
index 61fa709b1..2ed9cfea6 100644
--- a/source/slang/mangle.cpp
+++ b/source/slang/mangle.cpp
@@ -46,7 +46,7 @@ namespace Slang
// We prefix the string with its byte length, so that
// decoding doesn't have to worry about finding a terminator.
- UInt length = str.Length();
+ Index length = str.getLength();
emit(context, length);
context->sb.append(str);
}
@@ -279,7 +279,7 @@ namespace Slang
{
// This is the case where we *do* have substitutions.
emitRaw(context, "G");
- UInt genericArgCount = subst->args.Count();
+ UInt genericArgCount = subst->args.getCount();
emit(context, genericArgCount);
for( auto aa : subst->args )
{