summaryrefslogtreecommitdiffstats
path: root/source/core/slang-string-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-string-util.cpp')
-rw-r--r--source/core/slang-string-util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-string-util.cpp b/source/core/slang-string-util.cpp
index cd79ffce7..32f017f46 100644
--- a/source/core/slang-string-util.cpp
+++ b/source/core/slang-string-util.cpp
@@ -208,7 +208,7 @@ ComPtr<ISlangBlob> StringUtil::createStringBlob(const String& string)
return slice;
}
- const Index numChars = slice.size();
+ const Index numChars = slice.getLength();
const char* srcChars = slice.begin();
StringBuilder builder;