From cbba1f2ba451f31e910d59fb9efbadc5e370c095 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Mon, 2 Mar 2020 19:14:18 -0500 Subject: Renamed UnownedStringSlice::size to getLength to make match String. (#1254) --- source/core/slang-string-util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core/slang-string-util.cpp') 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 StringUtil::createStringBlob(const String& string) return slice; } - const Index numChars = slice.size(); + const Index numChars = slice.getLength(); const char* srcChars = slice.begin(); StringBuilder builder; -- cgit v1.2.3