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/gfx/d3d/d3d-util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gfx/d3d/d3d-util.cpp') diff --git a/tools/gfx/d3d/d3d-util.cpp b/tools/gfx/d3d/d3d-util.cpp index 3f25ff46c..c746655c7 100644 --- a/tools/gfx/d3d/d3d-util.cpp +++ b/tools/gfx/d3d/d3d-util.cpp @@ -368,7 +368,7 @@ bool D3DUtil::isTypeless(DXGI_FORMAT format) static bool _isMatch(IDXGIAdapter* adapter, const Slang::UnownedStringSlice& lowerAdapaterName) { - if (lowerAdapaterName.size() == 0) + if (lowerAdapaterName.getLength() == 0) { return true; } -- cgit v1.2.3