Fix windows build issue
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user