1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-23 02:07:45 +00:00

Update ExdData.h

build fix(?!?)
This commit is contained in:
AriAvery 2023-04-23 20:24:01 +02:00
parent 8ff1e9ecba
commit 9810a41148

View file

@ -68,7 +68,7 @@ namespace Sapphire::Data
} }
#else #else
static std::unordered_map< std::type_index, std::string > demangle_cache; 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 ); auto it = demangle_cache.find( type );
if( it != demangle_cache.end() ) if( it != demangle_cache.end() )
{ {