Retrieve as StringRef since that's how it'll be used

This commit is contained in:
David Blaikie 2022-07-07 19:58:41 +00:00
parent 5f3818c7df
commit 856ebe9e82
1 changed files with 1 additions and 1 deletions

View File

@ -1016,7 +1016,7 @@ void Module::FindTypes(
FindTypes_Impl(name, CompilerDeclContext(), UINT_MAX,
searched_symbol_files, typesmap);
if (exact_match) {
typesmap.RemoveMismatchedTypes(type_scope, name.AsCString(""),
typesmap.RemoveMismatchedTypes(type_scope, name.GetStringRef(),
type_class, exact_match);
}
}