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-render-api-util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core/slang-render-api-util.cpp') diff --git a/source/core/slang-render-api-util.cpp b/source/core/slang-render-api-util.cpp index 960537a0b..edf8c13ca 100644 --- a/source/core/slang-render-api-util.cpp +++ b/source/core/slang-render-api-util.cpp @@ -122,7 +122,7 @@ enum class Token static Token nextToken(Slang::UnownedStringSlice& textInOut, Slang::UnownedStringSlice& lexemeOut) { using namespace Slang; - if (textInOut.size() <= 0) + if (textInOut.getLength() <= 0) { return Token::eEnd; } -- cgit v1.2.3