Added result type and stacktrace capabilities.
This commit is contained in:
@@ -75,12 +75,12 @@ std::string demangleCPPIdentifier(const char* identifier)
|
||||
std::free(demangled); // NOLINT(cppcoreguidelines-owning-memory,cppcoreguidelines-no-malloc)
|
||||
return name;
|
||||
}
|
||||
return "";
|
||||
return identifier;
|
||||
}
|
||||
#else
|
||||
std::string demangleCPPIdentifier(const char* /* identifier */)
|
||||
std::string demangleCPPIdentifier(const char* identifier)
|
||||
{
|
||||
return "";
|
||||
return identifier;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user