fixup! chore: fix misc-use-anonymous-namespace warnings from clang-tidy (#6488) (#6498)

fix: tyop
This commit is contained in:
Charles Kerr 2024-01-06 13:04:50 -06:00 committed by GitHub
parent 38aa28a831
commit ea52e75476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ bool removeURL(tr_variant* metainfo, std::string_view url)
return changed;
}
[[nodisard]] auto replaceSubstr(std::string_view str, std::string_view oldval, std::string_view newval)
[[nodiscard]] auto replaceSubstr(std::string_view str, std::string_view oldval, std::string_view newval)
{
auto ret = std::string{};