[clang-doc] Use SmallString::operator std::string (NFC)

This commit is contained in:
Kazu Hirata 2024-01-14 12:17:56 -08:00
parent 10b1c29e39
commit 21edd381e4

View File

@ -457,7 +457,7 @@ writeFileDefinition(const Location &L,
Node->Children.emplace_back(std::make_unique<TextNode>(" of file "));
auto LocFileNode = std::make_unique<TagNode>(
HTMLTag::TAG_A, llvm::sys::path::filename(FileURL));
LocFileNode->Attributes.emplace_back("href", std::string(FileURL.str()));
LocFileNode->Attributes.emplace_back("href", std::string(FileURL));
Node->Children.emplace_back(std::move(LocFileNode));
return Node;
}