Codechange: remove unused function

This commit is contained in:
Rubidium
2025-05-04 09:24:39 +02:00
committed by rubidium42
parent 5e3c7c4146
commit 9d8a612bfb

View File

@@ -25,10 +25,6 @@ void StrMakeValidInPlace(char *str, StringValidationSettings settings = StringVa
void StrMakeValidInPlace(std::string &str, StringValidationSettings settings = StringValidationSetting::ReplaceWithQuestionMark);
[[nodiscard]] std::string StrMakeValid(std::string_view str, StringValidationSettings settings = StringValidationSetting::ReplaceWithQuestionMark);
[[nodiscard]] inline std::string StrMakeValid(const char *str, StringValidationSettings settings = StringValidationSetting::ReplaceWithQuestionMark)
{
return StrMakeValid(std::string_view(str), settings);
}
[[nodiscard]] inline std::string StrMakeValid(std::string &&str, StringValidationSettings settings = StringValidationSetting::ReplaceWithQuestionMark)
{
StrMakeValidInPlace(str, settings);