Skip to content

Commit 9855edf

Browse files
committed
npos
1 parent 333b7cb commit 9855edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

natvis/cppwinrt_visualizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ TypeSig ResolveGenericTypePart(DkmProcess* process, iter& it, sent const& end)
196196

197197
TypeDef type = FindSimpleType(process, partName);
198198
auto tickPos = partName.rfind('`');
199-
if (tickPos == std::string_view::basic_string_view::npos)
199+
if (tickPos == partName.npos)
200200
{
201201
return TypeSig{ type.coded_index<TypeDefOrRef>() };
202202
}

0 commit comments

Comments
 (0)