Fix freebsd build

This commit is contained in:
Konstantin Bogdanov 2024-10-16 18:13:53 +02:00
parent 43cf88a86e
commit e88fe37d92
Signed by: thevar1able
GPG Key ID: DB399448D9FE52F1

View File

@ -389,7 +389,7 @@ constexpr std::pair<std::string_view, std::string_view> replacements[]
// Demangle @c symbol_name if it's not from __functional header (as such functions don't provide any useful
// information but pollute stack traces).
// Replace parts from @c replacements with shorter aliases
static String demangleAndCollapseNames(std::optional<std::string_view> file, const char * const symbol_name)
String demangleAndCollapseNames(std::optional<std::string_view> file, const char * const symbol_name)
{
if (!symbol_name)
return "?";