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) --- tools/render-test/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/render-test/options.cpp') diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp index bd6d2b364..8331de07e 100644 --- a/tools/render-test/options.cpp +++ b/tools/render-test/options.cpp @@ -245,7 +245,7 @@ SlangResult parseOptions(int argc, const char*const* argv, Slang::WriterHelper s { // Lookup Slang::UnownedStringSlice argSlice(arg); - if (argSlice.size() && argSlice[0] == '-') + if (argSlice.getLength() && argSlice[0] == '-') { // Look up the rendering API if set UnownedStringSlice argName = UnownedStringSlice(argSlice.begin() + 1, argSlice.end()); -- cgit v1.2.3