Fix windows build issue

This commit is contained in:
Georg Hagen
2024-12-13 00:00:56 +01:00
parent 0edd8934d9
commit 99d208b923

View File

@@ -95,7 +95,7 @@ namespace OpenVulkano
std::string Utils::DemangleTypeName(const char* name) std::string Utils::DemangleTypeName(const char* name)
{ {
#ifdef _MSC_VER #ifdef _MSC_VER
return name return name;
#else #else
int status = 0; int status = 0;
std::unique_ptr<char, void(*)(void*)> res(abi::__cxa_demangle(name, NULL, NULL, &status), std::free); std::unique_ptr<char, void(*)(void*)> res(abi::__cxa_demangle(name, NULL, NULL, &status), std::free);