clean-up
This commit is contained in:
parent
3a728f4102
commit
e37861d46f
1 changed files with 1 additions and 1 deletions
|
@ -841,7 +841,7 @@ string nameof_type_rtti(const char* tn) {
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
string nameof_full_type_rtti(const char* tn) {
|
string nameof_full_type_rtti(const char* tn) {
|
||||||
static_assert(nameof_type_rtti_supported<T>::value, "nameof::nameof_type_rtti unsupported compiler (https://github.com/Neargye/nameof#compiler-compatibility).");
|
static_assert(nameof_type_rtti_supported<T>::value, "nameof::nameof_type_rtti unsupported compiler (https://github.com/Neargye/nameof#compiler-compatibility).");
|
||||||
const auto dmg = abi::__cxa_demangle(tn, nullptr, nullptr, nullptr);
|
const auto dmg = abi::__cxa_demangle(tn, nullptr, nullptr, nullptr);
|
||||||
auto name = string{dmg};
|
auto name = string{dmg};
|
||||||
std::free(dmg);
|
std::free(dmg);
|
||||||
|
|
Loading…
Reference in a new issue