diff --git a/src/common/Exd/ExdData.h b/src/common/Exd/ExdData.h index bf215970..f547115c 100644 --- a/src/common/Exd/ExdData.h +++ b/src/common/Exd/ExdData.h @@ -68,7 +68,7 @@ namespace Sapphire::Data } #else static std::unordered_map< std::type_index, std::string > demangle_cache; - auto type = typeid( T ); + auto type = std::type_index( typeid( T ) ); auto it = demangle_cache.find( type ); if( it != demangle_cache.end() ) {